Quote:
Originally Posted by [XST]O_x
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" CarInfo[i][cDescription],CarInfo[i][cValue]);
You can't format inside the ShowPlayerDialog itself, use a pre-formatted string.
|
Oh okay i understand now, thanks i try work it out