SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help

Reply
 
Thread Tools Display Modes
Old 19/08/2019, 07:17 AM   #11
Libbyphay
Big Clucker
 
Join Date: May 2017
Posts: 190
Reputation: 0
Default Re: Problem OnVehicleDeath water

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.
Libbyphay is offline   Reply With Quote
Old 19/08/2019, 07:26 AM   #12
Plastikmensch
Huge Clucker
 
Join Date: Aug 2016
Posts: 274
Reputation: 22
Default Re: Problem OnVehicleDeath water

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.
Plastikmensch is offline   Reply With Quote
Old 19/08/2019, 07:33 AM   #13
Libbyphay
Big Clucker
 
Join Date: May 2017
Posts: 190
Reputation: 0
Default Re: Problem OnVehicleDeath water

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.
Libbyphay is offline   Reply With Quote
Old 19/08/2019, 10:31 AM   #14
Libbyphay
Big Clucker
 
Join Date: May 2017
Posts: 190
Reputation: 0
Default Re: Problem OnVehicleDeath water

Someone help me
Libbyphay is offline   Reply With Quote
Old 19/08/2019, 10:38 AM   #15
Z3nx31L
Little Clucker
 
Join Date: Aug 2019
Posts: 31
Reputation: 0
Default Re: Problem OnVehicleDeath water

WHAT DO YOU MEAN WTF? respawn? no respawn?
__________________

IND TEAM
Z3nx31L Is Here
Z3nx31L is offline   Reply With Quote
Old 19/08/2019, 10:50 AM   #16
Libbyphay
Big Clucker
 
Join Date: May 2017
Posts: 190
Reputation: 0
Default Re: Problem OnVehicleDeath water

Ok the vehicle when fall in water, called OnVehicleDeath > SetVehicleToRespawn. I want it can't call SetVehicleToRepsawn, and the vehicle save pos in water.
Libbyphay is offline   Reply With Quote
Old 19/08/2019, 11:03 AM   #17
Z3nx31L
Little Clucker
 
Join Date: Aug 2019
Posts: 31
Reputation: 0
Default Re: Problem OnVehicleDeath water

hmm?
__________________

IND TEAM
Z3nx31L Is Here
Z3nx31L is offline   Reply With Quote
Old 19/08/2019, 11:04 AM   #18
Libbyphay
Big Clucker
 
Join Date: May 2017
Posts: 190
Reputation: 0
Default Re: Problem OnVehicleDeath water

Because when SetVehicleToRepsawn, it reset all information of vehicle, examp: fuel, health.
Libbyphay is offline   Reply With Quote
Old 19/08/2019, 11:05 AM   #19
Z3nx31L
Little Clucker
 
Join Date: Aug 2019
Posts: 31
Reputation: 0
Default Re: Problem OnVehicleDeath water

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.
__________________

IND TEAM
Z3nx31L Is Here
Z3nx31L is offline   Reply With Quote
Old 19/08/2019, 11:09 AM   #20
Libbyphay
Big Clucker
 
Join Date: May 2017
Posts: 190
Reputation: 0
Default Re: Problem OnVehicleDeath water

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

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
OnVehicleDeath water bug jamesbond007 Bug Reports 1 10/02/2012 10:28 PM
onvehicledeath water jamesbond007 Scripting Help 7 03/02/2012 02:00 AM
OnVehicleDeath() isn't called when vehicle enters water Awesome™ Scripting Help 5 20/01/2012 02:41 AM
OnVehicleDeath Problem.. MrIncredible Help Archive 6 08/02/2011 10:35 PM
OnVehicleDeath Problem Jakku Help Archive 10 08/11/2009 08:16 AM


All times are GMT. The time now is 07:48 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.