12.07.2010, 08:07
Its very simple, but im going to show you an example you might need to change the Variables to your kind of script.
pawn Код:
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;
}