disable gravity for player (make him hover fly/float)
how can I disable gravity for a certain player? Like sv_gravity 0?
set_pev(id, pev_gravity, 0.0) does nothing. |
Re: disable graviry for player
Disable gravity? Do you mean that he should be able to float in air, not be able to jump at all or have default gravity?
|
Re: disable graviry for player
float in air, not be able to jump.
i'll use set_pev(id, pev_velocity, velocity) to move player around. |
Re: disable graviry for player
PHP Code:
|
Re: disable gravity for player (make him float)
PHP Code:
no effect. |
Re: disable gravity for player (make him float)
Code:
|
Re: disable gravity for player (make him float)
1 Attachment(s)
1st post:
Quote:
|
Re: disable gravity for player (make him float)
Try this:
Code:
|
Re: disable gravity for player (make him float)
am i doing it right?
Quote:
|
Re: disable gravity for player (make him float)
Quote:
"ent" is the player that you wan't to make float. "host" is the player that is having "ent" modified in his/her game. "player" is a check to show that "ent" and "host" are both players. It's like doing fm_is_ent_classname(ent, "player") && fm_is_ent_classname(host, "player"). Quote:
|
| All times are GMT -4. The time now is 09:02. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.