12.07.2010, 07:44
(
Последний раз редактировалось Kitten; 24.11.2013 в 04:42.
)
Solved
public OnPlayerDeath(playerid, killerid, reason)
{
switch(GetPlayerTeam(playerid)) // Change to gTeam if your using that as Team checking.
{
case TEAM_SEEKER: // Seeker Team
{
SetPlayerTeam(playerid,TEAM_HIDER); // Transfers the person to hider team after he dies.
}
}
return 1;
}
switch(gTeam[playerid]) // Change to gTeam if your using that as Team checking. { case TEAM_ZOMBIE: // Seeker Team { SetPlayerTeam(playerid,TEAM_HUMAN); // Transfers the person to hider team after he dies. Hider(playerid); } } return 1; } |