[Request] Personal Gravity
Yes I know, it's been made before, by Chronic.
Yet it's still on manual -- amx_gravity <target> <gravoty amount> Is there a way to assign custom gravity levels for a specific flag? Let's use ADMIN_IMMUNITY as an example. |
Re: [Request] Personal Gravity
Quote:
|
Re: [Request] Personal Gravity
Quote:
|
Re: [Request] Personal Gravity
#3
That would be lovely. |
Re: [Request] Personal Gravity
Quote:
#define ADMIN_ALL 0 /* everyone */ #define ADMIN_IMMUNITY (1<<0) /* flag "a" */ #define ADMIN_RESERVATION (1<<1) /* flag "b" */ #define ADMIN_KICK (1<<2) /* flag "c" */ #define ADMIN_BAN (1<<3) /* flag "d" */ #define ADMIN_SLAY (1<<4) /* flag "e" */ #define ADMIN_MAP (1<<5) /* flag "f" */ #define ADMIN_CVAR (1<<6) /* flag "g" */ #define ADMIN_CFG (1<<7) /* flag "h" */ #define ADMIN_CHAT (1<<8) /* flag "i" */ #define ADMIN_VOTE (1<<9) /* flag "j" */ #define ADMIN_PASSWORD (1<<10) /* flag "k" */ #define ADMIN_RCON (1<<11) /* flag "l" */ #define ADMIN_LEVEL_A (1<<12) /* flag "m" */ #define ADMIN_LEVEL_B (1<<13) /* flag "n" */ #define ADMIN_LEVEL_C (1<<14) /* flag "o" */ #define ADMIN_LEVEL_D (1<<15) /* flag "p" */ #define ADMIN_LEVEL_E (1<<16) /* flag "q" */ #define ADMIN_LEVEL_F (1<<17) /* flag "r" */ #define ADMIN_LEVEL_G (1<<18) /* flag "s" */ #define ADMIN_LEVEL_H (1<<19) /* flag "t" */ |
Re: [Request] Personal Gravity
We could easilly edit the levels. Yet, since you're that nice let's go with admin_immunity, just make a single cvar, adjust it later.
ex: #define admin_access admin_immunity if_user_access blah blah I have no idea what I'm doing then > sv_gravity 100 |
Re: [Request] Personal Gravity
Quote:
So if you have immunity, you get flags based off immunity, or if you dont have immunity but have reservation flags then you get reservation gravity and so on. |
Re: [Request] Personal Gravity
#7
Why not ignore admins with multiple flags? Set a specific amount of gravity to players with flag "X" and simply avoid other flags forcing the gravity to a specific flag only. We could easilly adjust the gravity for our desired level after you release .sma Am I missing something? |
Re: [Request] Personal Gravity
Quote:
|
Re: [Request] Personal Gravity
Yep, that's what I personally need.
On other hand you should make it your way. Making the code much more userful to a public. ;) |
| All times are GMT -4. The time now is 18:22. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.