Posts: 44
Threads: 17
Joined: Apr 2016
Reputation:
0
when vehicle fall in water i want to...... this car is broken car [ [ I am bad for english ]]
example:
1.) I drive my car and fall in water ...
2.) This car .. Respawn to park's car and car is broken
do u understand me ? I am bad english....
[[ I use South Central script ]]
Posts: 151
Threads: 25
Joined: Jan 2016
Reputation:
0
U mean it be Blowed u and tp u again in the nearest Ground?
But any way this Theard have to be moved to Scripting Help.
Posts: 101
Threads: 9
Joined: Sep 2012
Reputation:
0
I believe he is saying if a car goes into water, it'll be destroyed and then wants that car moved back to its parked position, but still destroyed
Posts: 156
Threads: 25
Joined: May 2016
Lemme guess, It's impossible..
Posts: 1,939
Threads: 11
Joined: Oct 2015
Reputation:
0
I think there is call back to check if the player is in water
Posts: 156
Threads: 25
Joined: May 2016
Quote:
Originally Posted by BR3TT
Nope why would you say that? I'm only beginning pawn but I bet you could get functions to detect if a car is in water and if it is, then return back to parked position which it can get from a database. You just need to find someone to make it.
|
What about check if actor is performing swim animation which seem to be in water ofcourse? Not sure if it will work nor will make the server laggy as fuck. I dont think so about ****** fly hack.
Posts: 6,242
Threads: 8
Joined: Jun 2008
When a car spawns, it's going to respawn where it was originally anyway, so all you need to do is make a variable tracking if the car itself can be driven, and set it's engine to off if it cannot be, or freeze the player when they get in the driver seat.
If the car is going to land in water, well, the water is all the same height, so if you check the height of the car every few seconds, you'll no doubt find it hitting the lower end, and can use that to check as to how it died, in a ROUGH way.