if statement
#4

Quote:
Originally Posted by GoldenLion
Посмотреть сообщение
Thank you, it works now.

I don't know, but they are not both accessed with vehicleid.
This is what DynamicVehicleInfo looks like:
Код:
enum dynamicVehicleInfo
{
	VehicleID,
	VehicleExists,
	VehicleRealID,
	VehicleModel,
	VehicleFuel,
	Float:VehiclePos[4],
	Float:VehicleHealth,
	VehicleDamages[4],
	VehicleWindowBroken,
	VehicleOwner,
	VehiclePlate[8],
	VehicleLocked,
	VehicleColor1,
	VehicleColor2,
	VehiclePaintjob,
	VehicleMods[14]
}
new DynamicVehicleInfo[MAX_DYNAMIC_VEHICLES][dynamicVehicleInfo];
Oops, sorry I read too quickly.
Then that should be correct, did you try the if() logic I mentioned above? If the data is correct, that should work.
Reply


Messages In This Thread
if statement - by GoldenLion - 27.12.2016, 16:12
Re: if statement - by NaS - 27.12.2016, 16:41
Re: if statement - by GoldenLion - 27.12.2016, 19:13
Re: if statement - by NaS - 27.12.2016, 19:17
Re: if statement - by GoldenLion - 27.12.2016, 19:19
Re: if statement - by Konstantinos - 27.12.2016, 19:28

Forum Jump:


Users browsing this thread: 3 Guest(s)