Page 1 of 1

Buying Personal Gravity (Command and Menu! =))

Posted: Mon Nov 22, 2021 5:46 pm
by greenie
Description
This plugin allows players to buy their own gravity, or an admin can give personal gravity to them. Gravity lasts until the person dies.

Version
1.5

Commands
amx_pgrav - Admin command which sets personal gravity to a player.
say /buygrav - Brings up gravity menu.

Note - to give gravity, you should do amx_pgrav <nick> 400 (or your number ) - You don't need to do amx_pgrav <nick> 0.5.

Modules Required
Fun
Cstrike

Errors
None known.

Tested
Yes, WIN32 server.

Coming
I don't know, give me ideas

Installation Instructions
Choose get plugin from the options below, and place into addons/amxmodx/plugins folder. Put personalgravity.amxx in the last line of your plugins.ini.

You can also choose download from the options below and manually compile. Place into addons/amxmodx/plugins folder. Put personalgravity.amxx in the last line of your plugins.ini.


Credits
v3x for some coding help which I figured out worked 3 months later.

Note - I know this has been made before, but the menu with the buying gravity is a new option - the personal gravity is a nice little extra function, which can be removed if wanted

plugin
source