How can i check if the player is in the air or not?
#6

Quote:
Originally Posted by O_x
Quote:
Originally Posted by Steven82
Quote:
Originally Posted by Joe Torran C
Quote:
Originally Posted by » RyDeR «
You can chech his Z position.
So like

pawn Код:
new Float:x, Float:y, Float:z;
GetPlayerPos(playerid, x, y, z);
if(z > 20) return whatever here;
I think that is correct, try it
It can't be,the height of Mount Chilliad for example is much more than 20,so if the player will be on the ground
on a higher place the function will still work,so it can't be(or atleast thats what i think)
Its only for certain places and there all below 20
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)