Car Respawn Question
#1

Hello Everyone, I got one question. I use AddStaticVehicleEx to add cars. And at the end for the timer i have -1. When i driver one car and i want to change it i get a new one. I get in the new one and my old car respawns. I want to fix it and make that none car will NEVER respawn. Could someone please help me i really in need of this thing.



Thank you so much,
Jim Stone
Reply
#2

Then use AddStaticVehicle or CreateVehicle
Reply
#3

AddStaticVehicle does not have the timer and i don't know about CreateVehicle but i am sure AddStaticVehicle does not have timer and it will respawn in about 30 seconds after you get out.


And i want car NEVER to respawn.
Reply
#4

AddStaticVehicleEx?
Reply
#5

Read what i wrote in my Thread. I am using it but it still respawns my cars. Look what i wrote.
Reply
#6

umm.. OnVehicleDeath -> DestroyVehicle? (You have to use CreateVehicle to do this.) Should work just fine.
Reply
#7

Can you explain more clearly please.
Reply
#8

First, dont double post. Second, there is a callback called "OnVehicleDeath". When a vehicle is destroyed its called. Simply use Createvehicle to make the cars, and when they are destroyed, delete them with DestroyVehicle.
Reply
#9

AddStaticVehicle
Reply
#10

Quote:
Originally Posted by JeNkStAX
AddStaticVehicle
DestroyVehicle will not work with AddStaticVehicle.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)