How to detect if player's car is in water? - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to detect if player's car is in water? (
/showthread.php?tid=212072)
How to detect if player's car is in water? -
Outcast - 16.01.2011
I want to kill the player when he fells into the water with his car. How can I acomplish it?
Re: How to detect if player's car is in water? -
Backwardsman97 - 16.01.2011
Well if you're talking about the ocean, you can just check if the z of the car is below a certain point.
Re: How to detect if player's car is in water? -
Outcast - 16.01.2011
Okay, thanks.