Lilibeth
Gold Elite
- Joined
- Jul 4, 2021
- Messages
- 186
- Reaction score
- 54,957
- Points
- 316
it allows specific jobs to loot dead corpse, of course with a cute animation by pressing ‘E’.
Installing
after download/clone rename the folder fromtoirforce_lootdeadcorpsee-master
then goto to the address below and change the jobs name of your likingirforce_lootdeadcorpse
just replace the “jobname-here” with the job name you like for example:irforce_lootdeadcorpse/client/main.lua:29
or if you like to allow all players to loot, just remove the code belowif IsControlJustReleased(0, 38) and ( ESX.PlayerData["job"]["name"] == "fbi" or ESX.PlayerData["job"]["name"] == "police" ) then
and it will looks like this:and ( ESX.PlayerData["job"]["name"] == "jobname-here" or ESX.PlayerData["job"]["name"] == "jobname-here" )
also you can change config file to your likingif IsControlJustReleased(0, 38) then
and for the final step put the line below in your server.cfg file
start irforce_lootdeadcorpse
GOOD FORUMS