SA-MP Forums Archive
Vehicle respawn problem. - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Vehicle respawn problem. (/showthread.php?tid=122458)



Vehicle respawn problem. - -Davee- - 22.01.2010

Hi

On my server the cheaters teleport many vehicles to themselves, generally near the spawn places, and this make a big lag.

Respawn time for vehicles: 30 seconds, and I use CreateVehicle function BUT,

In 0.2X I haven't this problem because the CreateVehicle function respawning then if nobody used the vehicle, but in 0.3 only respawn if somebody used it.

I think if I'm using an own Vehicle Respawn function ( respawn all empty vehicle every 30 seconds, make lag )

Any idea?


Re: Vehicle respawn problem. - MenaceX^ - 22.01.2010

Show the code, maybe there's a way to decrease the lag.


Re: Vehicle respawn problem. - -Davee- - 22.01.2010

Ok. SLOVED