21.08.2011, 15:16
killerid must be changed into playerid, because it is the playerid that is executing the command. And not the killerid.
killerid is only to be used under OnPlayerDeath & Custom Callbacks. Not under OnPlayerCommandText.
So use:
I hope this helps you.
Kind Regards,
Improvement™
killerid is only to be used under OnPlayerDeath & Custom Callbacks. Not under OnPlayerCommandText.
So use:
pawn Code:
if(gTeam[playerid] == TEAM_ZOMBIE)
Kind Regards,
Improvement™