21.09.2013, 07:43
Alright, since I gave you a Correct code (I guess), Just make a dialog which sets the player team with the variable and the team colour. and just do place the ShowPlayerDialog on SkipOnPlayerRequestClass
Example
Example
pawn Код:
forward SkipOnPlayerRequestClass(playerid);
public SkipOnPlayerRequestClass(playerid)
{
SpawnPlayer(playerid);
TogglePlayerSpectating(playerid, 0);
ShowPlayerDialog(playerid, DIALOG_ID, DIALOG_STYLE_LIST, "Choose Your Team", "Terrorist\n Etc...", "Choose", "");
return 1;
}