24.09.2010, 16:30
Whats wrong with this Dialog why dont it work i get allot of errors.
Код:
for(new i = 0; i < sizeof(CarInfo); i++) { new newcar = GetPlayerVehicleID(playerid); new string[256]; if(newcar == CarInfo[i][ownedvehicle]) { if(CarInfo[i][cOwned]==0) { TogglePlayerControllable(playerid, 0); CarOffered[playerid]=1; ShowPlayerDialog( playerid, 4512, DIALOG_STYLE_LIST, "Car Menu", "Car: %s Price: %d if you want this car press buy.", "Buy", "Cancel" CarInfo[i][cDescription],CarInfo[i][cValue]); } } } } return 1;