15.09.2010, 15:45
This would be better.
pawn Code:
public OnPlayerDeath(playerid, killerid, reason)
{
if(reason == 50) SetPlayerHealth(killerid, 0.0);
return 1;
}