ShowPlayerDialog help
#5

pawn Код:
new string_dialog[128];
format(string_dialog,sizeof(string_dialog),"Car: %s Price: %d if you want that car press buy",CarInfo[i][cDescription],CarInfo[i][cValue]);
ShowPlayerDialog( playerid, 4512, DIALOG_STYLE_LIST, "Car Menu",string_dialog, "Buy", "Cancel");
You can't format inside the ShowPlayerDialog itself, use a pre-formatted string.
Reply


Messages In This Thread
ShowPlayerDialog help - by FrankC - 24.09.2010, 16:30
Re: ShowPlayerDialog help - by HyperZ - 24.09.2010, 16:38
Re: ShowPlayerDialog help - by Kyeno - 24.09.2010, 16:43
Re: ShowPlayerDialog help - by FrankC - 24.09.2010, 16:44
Re: ShowPlayerDialog help - by [XST]O_x - 24.09.2010, 16:44
Re: ShowPlayerDialog help - by FrankC - 24.09.2010, 16:48
Re: ShowPlayerDialog help - by FrankC - 24.09.2010, 17:04
Re: ShowPlayerDialog help - by [XST]O_x - 24.09.2010, 17:15
Re: ShowPlayerDialog help - by FrankC - 24.09.2010, 17:30
Re: ShowPlayerDialog help - by [XST]O_x - 24.09.2010, 17:33

Forum Jump:


Users browsing this thread: 2 Guest(s)