22.01.2013, 08:46
I'm having this error, I'm not sure how to fix it either,can anyone help me out ? & explain .
That would be great .
error 017: undefined symbol "VehicleSpawned"
error 001: expected token: ";", but found "]"
That would be great .
error 017: undefined symbol "VehicleSpawned"
error 001: expected token: ";", but found "]"
Код:
if(dialogid == VSTORAGE && response) { if(PlayerVehicleInfo[playerid][listitem][pvSpawned]) { new Float: vehiclehealth; GetVehicleHealth(PlayerVehicleInfo[playerid][listitem][pvId], vehiclehealth); if(vehiclehealth < 750) { SendClientMessage(playerid, COLOR_WHITE, "This vehicle is too damaged to be stored."); } else { --PlayerCars; VehicleSpawned[playerid]--; PlayerVehicleInfo[playerid][listitem][pvSpawned] = 0; DestroyVehicle(PlayerVehicleInfo[playerid][listitem][pvId]); VehicleRadioStation[PlayerVehicleInfo[playerid][listitem][pvId]] = 0; PlayerVehicleInfo[playerid][listitem][pvId] = INVALID_PLAYER_VEHICLE_ID; new vstring[128]; format(vstring, sizeof(vstring), "You have stored your %s. The vehicle has been despawned.", VehicleName[PlayerVehicleInfo[playerid][listitem][pvModelId] - 400]); ... . . . .so on..