OnVehicleSpawn - Crashdetect and code
#9

actually im not using MAX VEHICLES define so i could load more and i dont really get how many vehicles i have loaded here as Pro Gamer said that might be the problem
anyway here is the enum of Vehicles and idk how to increase it to max vehicles im using for example 500
Код:
enum fcar
{
	materialtype,
	carmaterials,
	carmodel,
	Float:fx,
	Float:fy,
	Float:fz,
	Float:fa,
	color1,
	color2,
	respawn,
	carteam,
	cartype, // 0 = driveable by all // 1 family restricted // 2 job restricted // 3 rentable
	modeltype, //0 car // 1 heli // 2 plane // 3 boat
	jobname[20],
	biznumber,
	plate[10],
	tmplocked,
	tmplockedby,
	carowner[MAX_STRING],
	carprice,
	reset,
	Components[CAR_COMPONENTS],
	dupekey[MAX_STRING],
	vw,
	paintjob,
	nitro,
	hydros,
	carspawneed,
	bool:vActive, // if the vehicle is active.
	bool:vSpawned,
	vRID,
veehid,
 compa0,
 compa1,
 compa2,
 compa3,
 compa4,
 compa5,
 compa6,
 compa7,
 compa8,
 compa9,
 compa10,
 compa11,
 compa12,
 compa13
}

new Vehicles[][fcar]
Reply


Messages In This Thread
OnVehicleSpawn - Crashdetect and code - by ThatFag - 31.08.2016, 11:14
Re: OnVehicleSpawn - Crashdetect and code - by Shinja - 31.08.2016, 12:11
Re: OnVehicleSpawn - Crashdetect and code - by ThatFag - 31.08.2016, 14:12
Re: OnVehicleSpawn - Crashdetect and code - by Shinja - 31.08.2016, 14:15
Re: OnVehicleSpawn - Crashdetect and code - by PrO.GameR - 31.08.2016, 15:04
Re: OnVehicleSpawn - Crashdetect and code - by Shinja - 31.08.2016, 15:07
Re: OnVehicleSpawn - Crashdetect and code - by PrO.GameR - 31.08.2016, 15:11
Re: OnVehicleSpawn - Crashdetect and code - by Shinja - 31.08.2016, 15:16
Re: OnVehicleSpawn - Crashdetect and code - by ThatFag - 31.08.2016, 18:18
Re: OnVehicleSpawn - Crashdetect and code - by PrO.GameR - 31.08.2016, 23:35

Forum Jump:


Users browsing this thread: 1 Guest(s)