11.02.2011, 08:25
You can stop the player from spawning using a variable.
TeamSelected[MAX_PLAYERS];
Set it to 1 when they select a team
TeamSelected[MAX_PLAYERS];
Set it to 1 when they select a team
pawn Код:
public OnPlayerRequestSpawn(playerid)
{
if(!TeamSelected[playerid])
{
// show the dialog
return 0;
}
return 1;
}