Problem OnVehicleDeath water - Page 2
#1

Quote:
Originally Posted by Plastikmensch
View Post
...what?
What are you trying to do?
I want create the system with vehicle, the vehicle when fall in water, it no spawn to create last pos.
Reply
#2

I still don't understand...
What system?
Why do you want them to fall in water?
What do you mean by "create last pos"?

You can't change that vehicle despawn in water.
Reply
#3

I want create the system vehicle, it can despawn and repawn when I use command, the pos was saved when use command, when player ride vehicle fall in water, the vehicle no respawn to land again.

Sorry my bad english.
Reply
#4

Someone help me
Reply
#5

WHAT DO YOU MEAN WTF? respawn? no respawn?
Reply
#6

Ok the vehicle when fall in water, called OnVehicleDeath > SetVehicleToRespawn. I want it can't call SetVehicleToRepsawn, and the vehicle save pos in water.
Reply
#7

hmm?
Reply
#8

Because when SetVehicleToRepsawn, it reset all information of vehicle, examp: fuel, health.
Reply
#9

This callback will also be called when a vehicle enters water, but the vehicle can be saved from destruction by teleportation or driving out (if only partially submerged). The callback won't be called a second time, and the vehicle may disappear when the driver exits, or after a short time.
Reply
#10

Why I can't save all information of vehicle in OnVehicleDeath, I want last pos = current pos.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)