/ungrav
I wrote a small script to let a user buy lower gravity, is there a command to change it back to normal?
By saying /ungrav |
Re: /ungrav
set_user_gravity(id)
|
Re: /ungrav
the same way you set it to low gravity, but instead of say "0.25" or something, set the number to 1 so it's 800 gravity.
|
Re: /ungrav
New to scripting, starting off small, kinda like this?
PHP Code:
|
Re: /ungrav
you need to include fun module to use the native
set_user_gravity(id) 1.0 is default value of the 2nd param fakemeta way is set_pev(id, pev_gravity, 1.0) |
Re: /ungrav
How do I make scrolling message every, say .. 5 minutes?
|
Re: /ungrav
maybe instead of making them say /ungrav take away gravity after the round ends
PHP Code:
|
Re: /ungrav
add to plugin_init();
PHP Code:
PHP Code:
|
Re: /ungrav
It automatically is removed at round end for some reason, I never added anything to make it do such a thing.
|
Re: /ungrav
That's because it just does that. You have to set it on every round start if you don't want that to happen.
|
| All times are GMT -4. The time now is 05:36. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.