Distances and units:Solved:
How to detect if a player is 2 unit away from the ground?
|
Re: Distances and units
Genious method.
Code:
|
Re: Distances and units
Thanks will try this
|
Re: Distances and units
PHP Code:
I jump up and didn't get that message and when i jump down or fell down i still didn't get that message! |
Re: Distances and units
Quote:
|
Re: Distances and units
Shouldn't the player hit the 2 unit mark on the way down from jump or even on the way up and past it? All i want to do is to check when the player is 2 units away from the ground before the player hits the ground.
|
Re: Distances and units
Why did you comment the
Code:
|
Re: Distances and units
You want to fake jump bug ? cheat plugin ? :mrgreen:
|
Re: Distances and units
No I just want to check if player has is within 2 units of the ground return value false.
if i use this if (entity_get_int(client, EV_INT_flags) & FL_ONGROUND) It works after the player has hit the ground. I want the value to be false right before the player hits the ground. @ConnorMcLeod You want to fake jump bug ? cheat plugin ? No just a event that detects a player right before a player hits the ground thats all. |
Re: Distances and units
Never Mind I got it Thanks for your help hleV
|
| All times are GMT -4. The time now is 11:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.