08.06.2015, 22:04
Hi guys,
I did this in OnePlayerDeath,
But when a survivor die and change to zombie, he keeps the same skin of survivors..
I want to change his skin to zombie..
? :S
I did this in OnePlayerDeath,
PHP код:
public OnPlayerDeath(playerid, killerid, reason)
{
if(gTeam[playerid] == Survivors) //Change this code and transform it to yours
{
gTeam[playerid] = Zombie; //this sets the player to a zombie if he was a survivor before his death
return 1;
}
return 1;
}
I want to change his skin to zombie..
? :S