07.07.2010, 18:26
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
switch(Gteam[playerid])
{
case TEAM_...: // Change ... to the human team
{
Gteam[playerid] = TEAM_ZOMBIE; // Transfers human to zombie
}
case TEAM_ZOMBIE:
{
// Code here, if a zombie dies.
}
}
return 1;
}