Dialog Help.
#6

AH yes, sorry for not pointing that one out.
You've added an extra brace and you've placed one wrongly.

Here:

pawn Код:
else if(listitem == 1)
            {
                if(GetPlayerScore(playerid) <10)
                {
                    SendClientMessage(playerid, -1, "you need 10 Scores to be bus driver");
                }
                else
                {
                    SpawnPlayer(playerid);
                    ShowPlayerDialog(playerid, busdriver, DIALOG_STYLE_LIST, "Life Of Transport - Trucker Spawn", "Las Venturas Truck Stop\nSan Fierro Truck Stop\nLos Santos Truck Stop", "Select", "Cancel");
                }
            }
Indentation is key.
Reply


Messages In This Thread
Dialog Help. - by Avi Raj - 22.03.2013, 09:02
Re: Dialog Help. - by Faisal_khan - 22.03.2013, 09:24
Re: Dialog Help. - by Avi Raj - 22.03.2013, 09:41
Re: Dialog Help. - by LarzI - 22.03.2013, 09:44
Re: Dialog Help. - by Avi Raj - 22.03.2013, 09:47
Re: Dialog Help. - by LarzI - 22.03.2013, 09:50
Re: Dialog Help. - by Avi Raj - 22.03.2013, 11:00

Forum Jump:


Users browsing this thread: 4 Guest(s)