PDA

View Full Version : Need help with cars autorespawning.


danielpalade
11/01/2015, 05:10 PM
For some reason whenever a car is unused it respawns automatically after a couple of minutes.
How can i make it so it won't respawn?
My cars are defined as AddStaticVehicle so i can't set the respawn delay there as in CreateCar.
Is there a native that i can put under ongamemodeinit or something?

MCZOFT
11/01/2015, 05:13 PM
in your gamemode at the end of AddStaticVehicle(......,-1) -1 to never letting the car getting respawnd

danielpalade
12/01/2015, 06:04 PM
in your gamemode at the end of AddStaticVehicle(......,-1) -1 to never letting the car getting respawnd
There is no way I can do this with AddStaticVehicle(carid, x, y, z, rot, color1, color2); if i add -1 after the color2 it will say warning 202: number of arguments does not match definition.

SWAT4
12/01/2015, 06:15 PM
Are You Using a Specefic Admin System,? IF Yes Please Tell us , Cuz Most Of The New Systems Contains Stocks To Delete Cars Every 2 Mins or More Or Less