31.08.2017, 07:51
Код:
showImpoundMenu(playerid) { dialogstr[0] = 0; new carid, index; while(((carid = findPlayerCar(playerid, index++)) != -1)) { if(isVehicleInImpound(carid) == 2) { format(tempstr, sizeof(tempstr), "%s - $%s\n",VehiclesName[GetVehicleModel(carid)-400],getNumberString(GetImpoundPrice(carid))); strcat(dialogstr,tempstr,sizeof(dialogstr)); } } ShowPlayerDialog(playerid, EGovDialog_ImpoundMenu, DIALOG_STYLE_LIST, "Impound Menu", dialogstr, "Ok", "Cancel"); }