Hello,
I would like to know how to kill the character of the user? I can not find the function
thank you very much
Hello,
I would like to know how to kill the character of the user? I can not find the function
thank you very much
You don"t find him here ? http://www.dev-c.com/nativedb/
BOOL IS_PLAYER_DEAD(Player player)
This is the only thing connected but it is used to check whether the player is dead or not
Set this lower than 100
SetEntityHealth(ped, health)
For example:
To kill your ped,
SetEntityHealth(GetPlayerPed(-1), 0)
Nice, thank you very much !