How to know if a player has landed
#2

I have never tried this but you could check if the player has a parachute. Like, getting the weapons info, don't quite remember the function's name but I think you get the gist.

Although the player would also lose his parachute if he presses ENTER, so I am not sure.

EDIT: You could use GetPlayerWeapon from the moment the player is in the air until the moment GetPlayerWeapon returns an ID of a weapon that is not a parachute. Once it is not a parachute that means the player either pressed ENTER or touched the ground. You can check if the player pressed ENTER and then you will know, if the player pressed ENTER he most likely haven't touched the ground and if the player did not press ENTER, and the parachute is gone, the player has touched the ground.
Reply


Messages In This Thread
How to know if a player has landed - by PMH - 13.08.2015, 10:08
Re: How to know if a player has landed - by Denying - 13.08.2015, 11:31

Forum Jump:


Users browsing this thread: 1 Guest(s)