If is player in water
#1

I wanna know, how i check if player is in water/ felt into the water because i want to do a derby minigame in wich if the player falls into the water lose.
Reply
#2

You can check if he's swimming http://forum.sa-mp.com/showthread.ph...PlayerSwimming
Reply
#3

Well if it's a vehicle derby the best thing to do is check if the player's vehicle Z-coordinate is still above 0 (or 2.0, taking waves into account). I also thought OnVehicleDeath gets called when a vehicle hits the water.

If it's just people falling into the water you should try this include: https://sampforum.blast.hk/showthread.php?tid=173944
Reply
#4

Thanks guys
[+rep]
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)