Need help regarding a error
#1

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 "]"
Код:
	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..
Reply


Messages In This Thread
Need help regarding a error - by Desi_Dude - 22.01.2013, 08:46
Re: Need help regarding a error - by Desi_Dude - 22.01.2013, 10:46
Re: Need help regarding a error - by SilverKiller - 22.01.2013, 11:21
Re: Need help regarding a error - by Threshold - 22.01.2013, 11:25
Re: Need help regarding a error - by Desi_Dude - 22.01.2013, 21:48
Re: Need help regarding a error - by Desi_Dude - 23.01.2013, 05:42

Forum Jump:


Users browsing this thread: 1 Guest(s)