Player in water.
#3

Code:
new Float:XPos,Float:YPos,Float:ZPos;
GetVehiclePos(GetPlayerVehicleID(playerid),XPos,YPos,ZPos);
if(ZPos>-1 && Zpos<1)
{
then the vehicle is at water level...
if(ZPos>-1 && Zpos<1) works when the sea is calm, so idk if it works all time (erm.. at each weather)...
Reply


Messages In This Thread
Player in water. - by Admigo - 18.05.2011, 06:42
Re: Player in water. - by WackoX - 18.05.2011, 06:51
Re: Player in water. - by Babul - 18.05.2011, 13:57

Forum Jump:


Users browsing this thread: 2 Guest(s)