NGVehicle's problem's./..//
#1

Hey I made an vehicle's on my Army HQ and I stuck in a problem ...
That's the code of how I made the vehicle's:
Код:
	NGVehicles[0] = AddStaticVehicleEx(520,248.0794,4594.3105,11.5239,2.7183,0,0,VEHICLE_RESPAWN); // hydra 1
	NGVehicles[1] = AddStaticVehicleEx(520,237.9068,4594.1855,11.5200,359.5102,0,0,VEHICLE_RESPAWN); // hydra2
	NGVehicles[2] = AddStaticVehicleEx(520,227.9109,4594.4126,11.5253,357.3820,0,0,VEHICLE_RESPAWN); // hydra3
	NGVehicles[3] = AddStaticVehicleEx(430,199.3280,4591.4453,-0.6940,90.6359,0,110,VEHICLE_RESPAWN); // Cop boat
	NGVehicles[4] = AddStaticVehicleEx(430,200.1194,4596.4458,-0.7851,91.4565,0,110,VEHICLE_RESPAWN); // Cop boat 2
	NGVehicles[5] = AddStaticVehicleEx(595,201.8044,4609.0137,0.2197,92.5798,112,20,VEHICLE_RESPAWN); // predator
	NGVehicles[6] = AddStaticVehicleEx(595,204.8774,4603.1533,-0.2992,89.2164,112,20,VEHICLE_RESPAWN); // predator2
	NGVehicles[7] = AddStaticVehicleEx(539,221.6902,4609.5674,2.8996,89.0397,0,110,VEHICLE_RESPAWN); // vortex 1
	NGVehicles[8] = AddStaticVehicleEx(539,221.7372,4603.2832,2.9000,91.7202,0,110,VEHICLE_RESPAWN); // vortex 2
	NGVehicles[9] = AddStaticVehicleEx(425,251.1378,4595.0029,19.5374,38.5798,0,0,VEHICLE_RESPAWN); // hunterondeck1
	NGVehicles[10] = AddStaticVehicleEx(425,239.3769,4595.5366,19.5370,34.9381,0,0,VEHICLE_RESPAWN); // hunterondeck2
	NGVehicles[11] = AddStaticVehicleEx(425,227.2570,4595.8970,19.5330,36.2626,0,0,VEHICLE_RESPAWN); // hunterondeck3
	NGVehicles[12] = AddStaticVehicleEx(548,339.1287,4592.5342,19.5370,318.6580,0,0,VEHICLE_RESPAWN); // cargoondeck4
	NGVehicles[13] = AddStaticVehicleEx(548,350.7022,4592.5835,19.5370,322.3175,0,0,VEHICLE_RESPAWN); // cargoondeck5
	NGVehicles[14] = AddStaticVehicleEx(548,362.1107,4592.6118,19.5370,323.1028,0,0,VEHICLE_RESPAWN); // cargoondeck6
	NGVehicles[15] = AddStaticVehicleEx(548,373.5303,4592.8457,19.5370,324.9776,0,0,VEHICLE_RESPAWN); // cargoondeck7
	NGVehicles[16] = AddStaticVehicleEx(417,213.0728,4592.1421,20.4642,269.6004,1,1,VEHICLE_RESPAWN); // Leviathan
	NGVehicles[17] = AddStaticVehicleEx(417,384.6175,4592.6875,19.3947,90.9128,43,0,VEHICLE_RESPAWN); // Leviathan
	NGVehicles[18] = AddStaticVehicleEx(520,351.6037,4607.6841,12.5242,88.6799,0,0,VEHICLE_RESPAWN); // Hydra
	NGVehicles[19] = AddStaticVehicleEx(520,351.6037,4597.3706,12.5242,88.6799,0,0,VEHICLE_RESPAWN); // Hydra
	NGVehicles[20] = AddStaticVehicleEx(583,307.7500,3593.9443,11.3398,270.0000,1,1, VEHICLE_RESPAWN); // Tug New1
	NGVehicles[21] = AddStaticVehicleEx(583,307.7500,3591.4055,11.3398,270.0000,1,1, VEHICLE_RESPAWN); // Tug New2
	NGVehicles[22] = AddStaticVehicleEx(583,307.7500,3588.7593,11.3398,270.0000,1,1, VEHICLE_RESPAWN); // Tug New3
	// CARRIER BELOW
	NGVehicles[23] = AddStaticVehicleEx(425,477.50000000,-2233.30004883,18.10000038,310.00000000,-1,-1,VEHICLE_RESPAWN); //Hunter
	NGVehicles[24] = AddStaticVehicleEx(563,440.89999390,-2233.10009766,17.79999924,310.00000000,-1,-1,VEHICLE_RESPAWN); //Raindance
	NGVehicles[25] = AddStaticVehicleEx(563,459.89999390,-2232.80004883,17.79999924,310.00000000,-1,-1,VEHICLE_RESPAWN); //Raindance
	NGVehicles[26] = AddStaticVehicleEx(520,326.39999390,-2225.69995117,11.80000019,0.00000000,-1,-1,VEHICLE_RESPAWN); //Hydra
	NGVehicles[27] = AddStaticVehicleEx(520,341.89999390,-2226.10009766,11.80000019,0.00000000,-1,-1,VEHICLE_RESPAWN); //Hydra
	NGVehicles[28] = AddStaticVehicleEx(520,444.50000000,-2223.89990234,11.80000019,88.00000000,-1,-1,VEHICLE_RESPAWN); //Hydra
	NGVehicles[29] = AddStaticVehicleEx(520,353.29998779,-2236.80004883,18.89999962,359.49267578,-1,-1,VEHICLE_RESPAWN); //Hydra
	NGVehicles[30] = AddStaticVehicleEx(520,338.79998779,-2236.69995117,18.89999962,359.73852539,-1,-1,VEHICLE_RESPAWN); //Hydra
	NGVehicles[31] = AddStaticVehicleEx(520,324.39999390,-2236.80004883,18.89999962,0.48852539,-1,-1,VEHICLE_RESPAWN); //Hydra
	NGVehicles[32] = AddStaticVehicleEx(595,302.10000610,-2225.39990234,0.00000000,90.00000000,-1,-1,VEHICLE_RESPAWN); //Launch
	NGVehicles[33] = AddStaticVehicleEx(595,302.29998779,-2219.10009766,0.00000000,90.00000000,-1,-1,VEHICLE_RESPAWN); //Launch
	NGVehicles[34] = AddStaticVehicleEx(595,308.79998779,-2222.30004883,0.00000000,90.00000000,-1,-1,VEHICLE_RESPAWN); //Launch
NGVehicles[35] = AddStaticVehicleEx(425,2677.00000000,-2601.00000000,9.60000038,0.00000000,-1,65,15,VEHICLE_RESPAWN); //Hunter
NGVehicles[36] = AddStaticVehicleEx(425,2676.00000000,-2579.39990234,9.60000038,181.99963379,-1,65,15,VEHICLE_RESPAWN); //Hunter
NGVehicles[37] = AddStaticVehicleEx(425,2694.69995117,-2599.80004883,9.60000038,4.00000000,-1,65,15,VEHICLE_RESPAWN); //Hunter
NGVehicles[38] = AddStaticVehicleEx(425,2695.60009766,-2575.30004883,9.60000038,179.99963379,-1,65,15,VEHICLE_RESPAWN); //Hunter
NGVehicles[39] = AddStaticVehicleEx(447,2737.00000000,-2368.80004883,28.50000000,169.99694824,-1,-1,15,VEHICLE_RESPAWN); //Seasparrow
NGVehicles[40] = AddStaticVehicleEx(447,2706.60009766,-2368.89990234,28.50000000,177.99499512,-1,-1,15,VEHICLE_RESPAWN); //Seasparrow
NGVehicles[41] = AddStaticVehicleEx(447,2700.60009766,-2368.39990234,28.60000038,183.99902344,-1,-1,15,VEHICLE_RESPAWN); //Seasparrow
NGVehicles[42] = AddStaticVehicleEx(520,2808.30004883,-2604.10009766,9.69999981,0.00000000,-1,-1,15,VEHICLE_RESPAWN); //Hydra
NGVehicles[43] = AddStaticVehicleEx(520,2797.89990234,-2604.19995117,9.69999981,2.00000000,-1,-1,15,VEHICLE_RESPAWN); //Hydra
NGVehicles[44] = AddStaticVehicleEx(520,2807.10009766,-2574.89990234,9.69999981,180.00000000,-1,-1,15,VEHICLE_RESPAWN); //Hydra
NGVehicles[45] = AddStaticVehicleEx(520,2796.69995117,-2575.00000000,9.69999981,180.00000000,-1,-1,15,VEHICLE_RESPAWN); //Hydra
NGVehicles[46] = AddStaticVehicleEx(486,2837.00000000,-2399.69995117,14.89999962,90.00000000,119,119,15,VEHICLE_RESPAWN); //Dozer
NGVehicles[47] = AddStaticVehicleEx(530,2827.89990234,-2408.19995117,11.89999962,0.00000000,119,119,15,VEHICLE_RESPAWN); //Forklift
NGVehicles[48] = AddStaticVehicleEx(455,2836.39990234,-2390.89990234,15.19999981,90.00000000,119,119,15,VEHICLE_RESPAWN); //Flatbed
NGVehicles[49] = AddStaticVehicleEx(428,2780.60009766,-2425.60009766,13.89999962,0.00000000,119,119,15,VEHICLE_RESPAWN); //Securicar
NGVehicles[50] = AddStaticVehicleEx(428,2781.10009766,-2409.89990234,13.89999962,180.00000000,119,119,15,VEHICLE_RESPAWN); //Securicar
NGVehicles[51] = AddStaticVehicleEx(554,2770.69995117,-2393.89990234,13.80000019,0.00000000,119,119,15,VEHICLE_RESPAWN); //Yosemite
NGVehicles[52] = AddStaticVehicleEx(427,2772.60009766,-2264.80004883,13.69999981,178.00000000,119,119,15,VEHICLE_RESPAWN); //Enforcer
NGVehicles[53] = AddStaticVehicleEx(427,2766.60009766,-2264.69995117,13.69999981,177.99499512,119,119,15,VEHICLE_RESPAWN); //Enforcer
NGVehicles[54] = AddStaticVehicleEx(427,2779.39990234,-2265.00000000,13.69999981,177.99499512,119,119,15,VEHICLE_RESPAWN); //Enforcer
NGVehicles[55] = AddStaticVehicleEx(433,2786.10009766,-2276.00000000,14.00000000,88.00000000,-1,-1,15,VEHICLE_RESPAWN); //Barracks
NGVehicles[56] = AddStaticVehicleEx(433,2786.30004883,-2282.50000000,14.00000000,87.99499512,-1,-1,15,VEHICLE_RESPAWN); //Barracks
NGVehicles[57] = AddStaticVehicleEx(433,2786.10009766,-2288.89990234,14.00000000,87.99499512,-1,-1,15,VEHICLE_RESPAWN); //Barracks
NGVehicles[58] = AddStaticVehicleEx(433,2785.69995117,-2295.39990234,14.00000000,87.99499512,-1,-1,15,VEHICLE_RESPAWN); //Barracks
NGVehicles[59] = AddStaticVehicleEx(433,2785.19995117,-2301.60009766,14.00000000,87.99499512,-1,-1,15,VEHICLE_RESPAWN); //Barracks
NGVehicles[60] = AddStaticVehicleEx(601,2758.60009766,-2265.10009766,13.39999962,0.00000000,-1,-1,15,VEHICLE_RESPAWN); //S.W.A.T. Van
NGVehicles[61] = AddStaticVehicleEx(601,2786.60009766,-2266.89990234,13.39999962,0.00000000,-1,-1,15,VEHICLE_RESPAWN); //S.W.A.T. Van
NGVehicles[62] = AddStaticVehicleEx(490,2738.80004883,-2286.39990234,13.80000019,268.00000000,119,119,15,VEHICLE_RESPAWN); //FBI Rancher
NGVehicles[63] = AddStaticVehicleEx(490,2738.89990234,-2292.50000000,13.80000019,267.99499512,119,119,15,VEHICLE_RESPAWN); //FBI Rancher
NGVehicles[64] = AddStaticVehicleEx(490,2738.60009766,-2298.80004883,13.80000019,267.99499512,119,119,15,VEHICLE_RESPAWN); //FBI Rancher
NGVehicles[65] = AddStaticVehicleEx(528,2767.30004883,-2305.89990234,13.69999981,88.00000000,-1,-1,15,VEHICLE_RESPAWN); //FBI Truck
NGVehicles[66] = AddStaticVehicleEx(528,2777.00000000,-2306.19995117,13.69999981,268.00000000,-1,-1,15,VEHICLE_RESPAWN); //FBI Truck
NGVehicles[67] = AddStaticVehicleEx(598,2767.89990234,-2299.30004883,13.30000019,88.00000000,119,119,15,VEHICLE_RESPAWN); //Police Car (LVPD)
NGVehicles[68] = AddStaticVehicleEx(598,2776.69995117,-2299.50000000,13.30000019,268.00000000,119,119,15,VEHICLE_RESPAWN); //Police Car (LVPD)
NGVehicles[69] = AddStaticVehicleEx(599,2775.89990234,-2293.30004883,13.89999962,268.00000000,119,119,15,VEHICLE_RESPAWN); //Police Ranger
NGVehicles[70] = AddStaticVehicleEx(599,2767.60009766,-2293.00000000,13.89999962,87.00000000,119,119,15,VEHICLE_RESPAWN); //Police Ranger
NGVehicles[71] = AddStaticVehicleEx(472,2790.80004883,-2641.39990234,0.00000000,92.00000000,119,119,15,VEHICLE_RESPAWN); //Coastguard
NGVehicles[72] = AddStaticVehicleEx(472,2779.10009766,-2641.60009766,0.00000000,270.00000000,119,119,15,VEHICLE_RESPAWN); //Coastguard
NGVehicles[73] = AddStaticVehicleEx(430,2710.50000000,-2642.89990234,0.00000000,272.00000000,119,119,15,VEHICLE_RESPAWN); //Predator
NGVehicles[74] = AddStaticVehicleEx(430,2728.50000000,-2642.10009766,0.00000000,88.00000000,119,119,15,VEHICLE_RESPAWN); //Predator
NGVehicles[75] = AddStaticVehicleEx(468,2737.00000000,-2313.69995117,13.19999981,0.00000000,119,119,15,VEHICLE_RESPAWN); //Sanchez
NGVehicles[76] = AddStaticVehicleEx(468,2737.30004883,-2316.60009766,13.19999981,0.00000000,119,119,15,VEHICLE_RESPAWN); //Sanchez
NGVehicles[77] = AddStaticVehicleEx(471,2740.00000000,-2313.60009766,13.10000038,0.00000000,119,119,15,VEHICLE_RESPAWN); //Quad
NGVehicles[78] = AddStaticVehicleEx(471,2740.30004883,-2316.50000000,13.10000038,0.00000000,119,119,15,VEHICLE_RESPAWN); //Quad
NGVehicles[79] = AddStaticVehicleEx(470,2795.80004883,-2424.50000000,13.69999981,0.00000000,-1,-1,15,VEHICLE_RESPAWN); //Patriot
NGVehicles[80] = AddStaticVehicleEx(470,2788.10009766,-2410.89990234,13.69999981,0.00000000,-1,-1,15,VEHICLE_RESPAWN); //Patriot
NGVehicles[81] = AddStaticVehicleEx(470,2794.60009766,-2410.50000000,13.69999981,0.00000000,-1,-1,15,VEHICLE_RESPAWN); //Patriot
NGVehicles[82] = AddStaticVehicleEx(470,2787.80004883,-2425.19995117,13.69999981,0.00000000,-1,-1,15,VEHICLE_RESPAWN); //Patriot
NGVehicles[83] = AddStaticVehicleEx(432,2787.30004883,-2460.69995117,13.69999981,0.00000000,-1,-1,15,VEHICLE_RESPAWN); //Rhino
NGVehicles[84] = AddStaticVehicleEx(432,2795.80004883,-2460.80004883,13.69999981,0.00000000,-1,-1,15,VEHICLE_RESPAWN); //Rhino
NGVehicles[85] = AddStaticVehicleEx(432,2784.30004883,-2475.19995117,13.69999981,90.00000000,-1,-1,15,VEHICLE_RESPAWN); //Rhino
NGVehicles[86] = AddStaticVehicleEx(560,2734.60009766,-2326.69995117,13.30000019,0.00000000,119,119,15,VEHICLE_RESPAWN); //Sultan
NGVehicles[87] = AddStaticVehicleEx(560,2738.50000000,-2326.80004883,13.30000019,0.00000000,119,119,15,VEHICLE_RESPAWN); //Sultan
NGVehicles[88] = AddStaticVehicleEx(447,2741.80004883,-2368.10009766,28.70000076,177.99499512,-1,-1,15,VEHICLE_RESPAWN); //Seasparrow

	// CARRIER ABVOE

That's the error's code's :
Код:
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19967) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19968) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19969) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19970) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19971) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19972) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19973) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19974) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19975) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19976) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19977) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19978) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19979) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19980) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19981) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19982) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19983) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19984) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19985) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19986) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19987) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19988) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19989) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19990) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19991) : error 032: array index out of bounds (variable "NGVehicles")
d:\Users\User\Desktop\Np\GodFather Roleplay\gamemodes\GF2.pwn(19992) : error 032: array index out of bounds (variable "NGVehicles")

Compilation aborted.Pawn compiler 3.2.3664	 	 	Copyright © 1997-2006, ITB CompuPhase


26 Errors.

35+ is the vehicle's I add'ed
Reply


Messages In This Thread
NGVehicle's problem's./..// - by yaron0600 - 07.12.2012, 16:18
Re: NGVehicle's problem's./..// - by InfiniTy. - 07.12.2012, 16:33
Re: NGVehicle's problem's./..// - by yaron0600 - 07.12.2012, 17:04
Re: NGVehicle's problem's./..// - by InfiniTy. - 07.12.2012, 17:06
Re: NGVehicle's problem's./..// - by DaRk_RaiN - 07.12.2012, 17:07
Re: NGVehicle's problem's./..// - by InfiniTy. - 07.12.2012, 17:09
Re: NGVehicle's problem's./..// - by DaRk_RaiN - 07.12.2012, 18:19
Re: NGVehicle's problem's./..// - by yaron0600 - 07.12.2012, 18:21
Re: NGVehicle's problem's./..// - by InfiniTy. - 07.12.2012, 18:29
Re: NGVehicle's problem's./..// - by DaRk_RaiN - 07.12.2012, 18:43

Forum Jump:


Users browsing this thread: 1 Guest(s)