Reached 2000 cars limit. - 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: Reached 2000 cars limit. (
/showthread.php?tid=574068)
Reached 2000 cars limit. -
Ahmad45123 - 13.05.2015
I have reached the 2k cars limit.. And well.. I need more tbh..
I looked at Icognito's Streamer but didn't find a vehicle streamer.
Is there any vehicle streamer or anyway I can add on the vehicles limit.
Re: Reached 2000 cars limit. -
hamzajaved780 - 13.05.2015
No you can't you should unload vehicles when a player disconnects and reload them on connection.
Re: Reached 2000 cars limit. -
Ahmad45123 - 13.05.2015
Ok.. Just counted all the CreateVehicle and AddStaticVehicle and AddStaticVehicleEx.
And the result was only 1026 + the player cars and gang cars that are loaded dynamicly, however both of them wont reach 100... Then why CreateVehicle is returning 65535 :/