Returning to class selection after next death
#8

you can use "OnPlayerSpawn" and set his skin, and team, etc. back to his old team...

e.g.
pawn Код:
public OnPlayerSpawn(playerid)
{
    if(GetPlayerTeam(playerid) == 1)
    {
        SetPlayerSkin(playerid, team1skin);
        SetPlayerColor(playerid, team1color);
    }
    return 1;
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 3 Guest(s)