24.09.2010, 17:04
2 errors now
i made this
Код:
error 017: undefined symbol "dialogid" error 025: function heading differs from prototype warning 204: symbol is assigned a value that is never used: "string"
Код:
if(CarInfo[i][cOwned]==0) { TogglePlayerControllable(playerid, 0); CarOffered[playerid]=1; 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_MSGBOX, "Car Menu",string_dialog, "Buy", "Cancel"); } } } } return 1;