Need help with cars autorespawning.
#1

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?
Reply
#2

in your gamemode at the end of AddStaticVehicle(......,-1) -1 to never letting the car getting respawnd
Reply
#3

Quote:
Originally Posted by MCZOFT
Посмотреть сообщение
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.
Reply
#4

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)