esx-community / esx_thief

FXServer ESX Thief
GNU General Public License v3.0
32 stars 22 forks source link

Loot the dead #23

Open wydox1SK opened 5 years ago

wydox1SK commented 5 years ago

Hello, im wanting to know how i can loot the dead without them having to have their hands up.

Thanks in advance..

Pesoen commented 5 years ago

you cant.. they need the hands up in order to work, though you might be able to make a check for if they have their hands up OR they are dead to get this functionality..

brunnas commented 4 years ago

You can try to write it with this native "IsEntityDead(GetPlayerPed(target))" which is shown in the code bellow. It is located in client.lua Screenshot_12