Posts: 701
Threads: 23
Joined: Feb 2007
Reputation:
0
The respawn delay kicks in when a driver leaves the car. X seconds with no driver then it respawns.
When the car goes into the water its like blowing it up, it gets destroyed so it respawns because the car was destroyed.
Posts: 429
Threads: 60
Joined: May 2010
Reputation:
0
So how do i do to make the car respawn in 20 minutes after getting destroyed? i saw this on a RP server.
Posts: 8
Threads: 1
Joined: Jan 2010
Reputation:
0
Timer when you live your vehicle ? respawn your last veh
Posts: 429
Threads: 60
Joined: May 2010
Reputation:
0
Im using a GF edit and i want owneable cars to respawn in 15 minutes after being destroyed not automatically, if someone knows how i would appreciate it so much.
Thanks
Posts: 299
Threads: 30
Joined: Nov 2010
Reputation:
0
the delay time is in milliseconds isn't it?
Posts: 429
Threads: 60
Joined: May 2010
Reputation:
0
Im not using that function.
Posts: 560
Threads: 32
Joined: Aug 2010
Reputation:
0
Well, set usual 900 seconds [ 15 mins ]
after car is blowed up, there cant be driver in it
Posts: 380
Threads: 11
Joined: Feb 2010
Reputation:
0
I used to think respawn time was in miliseconds, but now I am pretty sure its in seconds ( this is also what it says on the wiki )
An easy way to delay vehicle spawn after OnVehicleDeath is to change the vehicles virtual world, add the extra respawn time you want to gettime, put it in a global variable that is unique to each vehicle, and then check the variable periodically to reset its virtual world.
Posts: 429
Threads: 60
Joined: May 2010
Reputation:
0
Hmm well i will try changin the vworld of the vehicles but i thought it doesnt had to do it by that way...Thanks for the help.