Dialog problem
#5

Quote:
Originally Posted by Ken97
Посмотреть сообщение
PHP код:
if(dialogid == 100
    { 
        if(
response
        { 
            if(
listitem == 0
            { 
                new 
part1[] = "\n/car - Info about your vehicle\n/cars - Statistics about the server vehicles\n/buycar\t\t- Buy a vehicle\n/sellcar - to sell your vehicle\n/callcar - call your vehicle"
                new 
part2[] = "\n/watch[car/off] - to spectate your vehicle\n/[Un]lock - To lock/unlock your vehicle\n/resetcar - to reset your vehicle to the parked position\n/eject[all] - To eject a player from your vehicle"
                new 
string[400]; //128 is way to small (part2 = nearly 200) 
                
format(stringsizeof(string),"%s %s",part1,part2); 
                
ShowPlayerDialog(playerid100DIALOG_STYLE_MSGBOX,"Vehicle Car System",string,"Done",""); 
            } 
           if(
listitem == 1)
           {
               
Your 2nd page here
           
}
           if(
listitem == 2)
           {
               
Your 3rd page here
           
}
        } 
    } 
Thanks for quick respone, anyway this does not doing anything after i press on the Page number at dialog.
Reply


Messages In This Thread
Dialog problem - by Firo - 24.05.2012, 12:35
Re: Dialog problem - by Neil. - 24.05.2012, 12:40
Re: Dialog problem - by Firo - 24.05.2012, 12:42
Re: Dialog problem - by Neil. - 24.05.2012, 12:45
Re: Dialog problem - by Firo - 24.05.2012, 12:51
Re: Dialog problem - by Neil. - 24.05.2012, 12:54

Forum Jump:


Users browsing this thread: 1 Guest(s)