show dialog on clicking "Spawn"
#5

You can stop the player from spawning using a variable.

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;
}
Reply


Messages In This Thread
show dialog on clicking "Spawn" - by SonToku - 11.02.2011, 08:07
Re: show dialog on clicking "Spawn" - by xRyder - 11.02.2011, 08:09
Re: show dialog on clicking "Spawn" - by SonToku - 11.02.2011, 08:12
Re: show dialog on clicking "Spawn" - by xRyder - 11.02.2011, 08:17
Re: show dialog on clicking "Spawn" - by BMUK - 11.02.2011, 08:25
Re: show dialog on clicking "Spawn" - by Mean - 11.02.2011, 12:47
Re: show dialog on clicking "Spawn" - by Sasino97 - 11.02.2011, 14:13
Re: show dialog on clicking "Spawn" - by SonToku - 11.02.2011, 15:54
Re: show dialog on clicking "Spawn" - by Sasino97 - 17.02.2011, 14:50
Re: show dialog on clicking "Spawn" - by silvan - 19.02.2011, 07:33

Forum Jump:


Users browsing this thread: 3 Guest(s)