08.06.2015, 22:34
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(gTeam[playerid] == Survivors) //Change this code and transform it to yours
{
SetPlayerSkin(playerid, skinid);//Put the ID of the zombie skin here
gTeam[playerid] = Zombie; //this sets the player to a zombie if he was a survivor before his death
return 1;
}
return 1;
}