SA-MP Forums Archive
Confused Here. - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Confused Here. (/showthread.php?tid=389679)



Confused Here. - Laure - 03.11.2012

I tried to add Faction Vehicles but got these errors confused on fixing it.
Код:
D:\Xtreme Gaming Roleplay\gamemodes\xg-rp.pwn(19722) : error 032: array index out of bounds (variable "FacInfo")
D:\Xtreme Gaming Roleplay\gamemodes\xg-rp.pwn(19723) : error 032: array index out of bounds (variable "FacInfo")
Here are the Lines
Код:
FacInfo[1][fCars][26] = CreateVehicle(596,1535.8617,-1678.0245,13.1032,359.7036,0,1,1200); // Crusier near the department door.
	FacInfo[1][fCars][27] = CreateVehicle(596,1535.9086,-1667.2163,13.1048,179.4998,0,1,1200); // Crusier near the department door.



Re: Confused Here. - Laure - 03.11.2012

Nevermind fixed it was the problem with max fac cars.