Need help about dialog!!
#5

Код:
if(dialogid == 100)
{
    if(response) // If he presses enter
    {
        switch(listitem)
        {
            case 0: return ShowPlayerDialog(playerid, 101, DIALOG_STYLE_LIST,"Pilot Spawn","Los Santos\nLas Venturas\nSan Fierro", "Enter", "Cancel");
            case 1:
            {
                if(GetPlayerScore(playerid) < 100)
                {
                    SendClientMessage(playerid, COLOR_RED, "you need 100 score to be military pilot");
                    ShowPlayerDialog(playerid, 100, DIALOG_STYLE_LIST,"Class Selection","Pilot\nMilitary Pilot", "Enter", "Quit");
                }
                ShowPlayerDialog(playerid, 102, DIALOG_STYLE_LIST,"Military Pilot Spawn","Are 69", "Enter", "Cancel");
                return 1;
            }
    	}
    }
    else return SendClientMessage(playerid, COLOR_GOLD, "Admin Tele Canceled"); // Otherwise, ESC
}
Reply


Messages In This Thread
Need help about dialog!! - by ejul - 09.11.2012, 05:17
Re: Need help about dialog!! - by Mustafa6155 - 09.11.2012, 05:22
Re: Need help about dialog!! - by ejul - 09.11.2012, 05:23
Re: Need help about dialog!! - by Virus. - 09.11.2012, 05:51
Re: Need help about dialog!! - by Konstantinos - 09.11.2012, 09:33

Forum Jump:


Users browsing this thread: 1 Guest(s)