Posts: 9
Threads: 1
Joined: Nov 2008
Reputation:
0
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
Posts: 1,154
Threads: 6
Joined: Aug 2008
Reputation:
0
Then use AddStaticVehicle or CreateVehicle
Posts: 9
Threads: 1
Joined: Nov 2008
Reputation:
0
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.
Posts: 9
Threads: 1
Joined: Nov 2008
Reputation:
0
Read what i wrote in my Thread. I am using it but it still respawns my cars. Look what i wrote.
Posts: 797
Threads: 21
Joined: Jan 2007
Reputation:
0
umm.. OnVehicleDeath -> DestroyVehicle? (You have to use CreateVehicle to do this.) Should work just fine.
Posts: 9
Threads: 1
Joined: Nov 2008
Reputation:
0
Can you explain more clearly please.
Posts: 797
Threads: 21
Joined: Jan 2007
Reputation:
0
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.