24.03.2014, 07:59
No, he needs to simply pass the parameters that are passed to OnPlayerDeath - like it says on the wiki - :
You don't need to check whether the killerid is valid or not for SendDeathMessage. INVALID_PLAYER_ID is a valid killerid (it means no killer - suicide).
You never need to check that playerid is valid. Obviously it's valid - someone died, calling OPD.
pawn Код:
SendDeathMessage(killerid, playerid, reason);
You never need to check that playerid is valid. Obviously it's valid - someone died, calling OPD.