Fall Damage not calling OnPlayerDeath
#3

Quote:
Originally Posted by BroZeus
Посмотреть сообщение
You have written "fall damage" not "fall death"
OnPlayerDeath is only for when player dies not for player damage...
And if mean player death on fall then put this in OnPlayerDeath to see if it really called or not..
printf("[DEBUG] OnPlayerDeath Called || PlayerId : %i Reason ; %i", playerid, reason);
Yup, it was calling, but getting stuck when it tried to pass INVALID_PLAYER_ID in pInfo[killerid][pKills]. Fixed, +rep.

EDIT: given rep recently.
Reply


Messages In This Thread
Fall Damage not calling OnPlayerDeath - by Aerotactics - 14.12.2014, 05:47
Re: Fall Damage not calling OnPlayerDeath - by BroZeus - 14.12.2014, 07:03
Re: Fall Damage not calling OnPlayerDeath - by Aerotactics - 14.12.2014, 08:44

Forum Jump:


Users browsing this thread: 1 Guest(s)