Team No Buy v0.2 (former "No Buy")
1 Attachment(s)
Plugin allows to disable buy feature for T/CT/T&CT team.
Engine module required. CVAR amx_team_nobuy (default: 3)
Versions Code:
0.2 - added CVAR to enable/disable the plugin |
I like it. My only thought would be to use the pcvar to get the cvar value but it isn't needed since you only check once a map.
|
Yes - that was exact my point. Also my thought was that (get_cvar_pointer AND get_pcvar_num) will use nearly the same amount of resources as get_cvar_num (and maybe even a bit more). I said "get_cvar_pointer AND get_pcvar_num" because at the time when cvar value retrieves cvar isn't registered yet so the only way to get cvar's pointer is use get_cvar_pointer. Probably it's possible to register a cvar in plugin_precache (so i do not have to use get_cvar_pointer) but i don't think that registering cvar before plugin_init is a good idea.
|
So did this eliminate the old NoBuy? And their is no way of "nobuying" a particular person? Unless the other one is still out.
|
Quote:
Quote:
For example "Admin No Buy" which written for that has numerous exploits. Even the latest AMXX Weapon Restriction menu has exploits (EDIT: for now AMXX Weapon Restriction issues is fixed). I think the steeps in that direction should be: 1. Fixing Weapon Restriction exploits 2. Creating a 3rd party plugin based on the original Weapon Restriction. |
I see. I was mainly looking for it capable of just typing /nobuy blah 1 and he cant purchase anything. It would be nice.
|
Re: Team No Buy v0.2 (former "No Buy")
thx,it has usefully info. for me.
tested: change the "buying" vaule can be done at anytime only respawn player was need. |
Re: Team No Buy v0.2 (former "No Buy")
register cvar in plugin_precache to, else it will always return 0 when server starts...
|
Re: Team No Buy v0.2 (former "No Buy")
Hi, when I use your plugin, I get some errors:
Code:
L 06/27/2011 - 15:54:59: Start of error session. |
Re: Team No Buy v0.2 (former "No Buy")
Seems that you have a plugin that prevent that entity from spawning.
|
All times are GMT -4. The time now is 14:56. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.