Posts: 213
Threads: 77
Joined: Jul 2013
Reputation:
0
Is OnPlayerDeath get called when i use setplayerhealth?
Posts: 1,690
Threads: 18
Joined: Jul 2012
Reputation:
0
It get called only when the player health is '0'.
Posts: 515
Threads: 5
Joined: Jun 2007
Reputation:
0
If you set it to '0.0', then yes.
Posts: 761
Threads: 124
Joined: Nov 2010
Reputation:
0
Its called when the player dies, what corresponds to a player Health value of: health<=0.00
Posts: 126
Threads: 1
Joined: Oct 2014
Reputation:
0
You call player death by
SetPlayerHealth(playerid, 0.0);
Posts: 1,794
Threads: 104
Joined: Feb 2012
Reputation:
0
It doesn't matter, whenever player is dead (health:0) OnPlayerDeath gets called.