Posts: 1,241
Threads: 304
Joined: May 2012
Reputation:
0
Using command /v2 load last vehicle player used.
Let's say player 1 spawn vehicle infernus, then he leave/exit the vehicle. If player 1 use command /v2 it load the last vehicle infernus or it depends of what player 1 use last vehicle.
Posts: 1,018
Threads: 129
Joined: Apr 2011
Reputation:
0
WTF,sorry,i double posted accidentaly(MY INTERNET IS NOT GOOD today),sorry admin,I was not intending to bump,sorry for double post,I pressed POST only once,and I double posted :O.
Posts: 565
Threads: 32
Joined: Jul 2012
Reputation:
0
I tested it and it working partially. When you enter car and exit and type /v2 it's working.
What about when your car is destroyed and you were in and you used /v2. It won't work because there is no OnPlayerExitVehicle. Or when you change your car without exiting (using spawn car command and PutPlayerInVehicle). Think of it a little.
Posts: 1,241
Threads: 304
Joined: May 2012
Reputation:
0
@Deal-or-die = A little problem. yes the script work nice. but it has possibility to spam vehicles. I mean when I do /v2 then it spawn my last car. after I do /v2 again the other last vehicle didn't destroy. How do I destroy the last vehicle?
@Redjohn - Okay thanks redjohn, any idea how to destroy the last vehicle? after using /v2 again?