Commit Graph

55 Commits

Author SHA1 Message Date
Arkshine
d0ab27092c Allow show_menu native to send empty text and add reset_menu stock (bug 6244) 2014-10-24 20:36:38 +02:00
HttrckCldHKS
3953db97cd Improving Code 2014-10-18 11:11:10 -07:00
HttrckCldHKS
7ced590cbc Improving Code 2014-10-18 11:04:10 -07:00
HttrckCldHKS
5d2b738ec1 Improving Code 2014-10-18 10:36:07 -07:00
HttrckCldHKS
3615e717ca Adding New Game Modifications Due Colored Menus
Adding New Game Modifications Due Colored Menus.
2014-10-18 10:10:58 -07:00
Scott Ehlert
f787db1be5 Update license headers for plugins and includes. 2014-08-04 13:18:41 -05:00
xPaw
0e0d7ec9d5 Instead of assigning FCVAR_PROTECTED to cvars after startup, register cvars with said flag 2014-07-29 00:33:08 +03:00
Arkshine
07534edfcd Use the new constants in various place. 2014-07-20 12:27:02 +02:00
xPaw
ae9315ad48 🔥 Remove amxmod compatability
This doesn't remove anything from the engine
2014-06-05 13:48:56 +03:00
Steve Dudenhoeffer
5e9e119c76 Fix for amb1545: show_activity was ignoring the last client 2008-03-30 07:36:10 +00:00
Steve Dudenhoeffer
16720a2f70 Fix for amb1343 - show_activity() had a messed up vformat() call 2008-03-04 19:18:17 +00:00
Steve Dudenhoeffer
15b62648c9 Implemented amb307 - admincmd now caches a few of the last connections.
amx_addban changed back to ADMIN_BAN.  Users without RCON access will only be able to ban those in the old connection cache.  Users with RCON access still have unrestricted access to amx_addban.

The old connection cache can be viewed with amx_last (ADMIN_BAN access required by default).
2007-08-03 15:26:22 +00:00
Steve Dudenhoeffer
d836aeb716 Added some defines for cmd_target's filter system (for less cryptic code)
Changed all immunity obeying commands to allow for self execution - amb633
2007-07-25 18:10:08 +00:00
Steve Dudenhoeffer
0c82e09df1 Added amb42 - different amx_show_activity values. 2007-05-24 17:11:11 +00:00
Steve Dudenhoeffer
66feed1d2b Added charsmax() define, as a less typo-prone utility for sizeof(array)-1.
Added any: syntax to all variable args that need it, added proper {Float,_}: tags to some that didn't have it but should have.
2007-05-18 15:20:34 +00:00
Steve Dudenhoeffer
81994ecf58 Fix for access() with ADMIN_ALL
Very minor optimization for is_user_admin

(amb81)
2007-03-30 02:04:30 +00:00
David Anderson
71065a65dd attempted merge at 1.77 back into trunk... Oh MY GOD 2007-03-09 03:04:40 +00:00
Steve Dudenhoeffer
bd412d7204 Fixed bug amb70 - include files not semicolon-correct
Also, removed OLOcode from amxmisc.inc
2007-03-05 19:30:40 +00:00
Steve Dudenhoeffer
4f81c50a3e Fixed am50731 - compiler crash when amxmisc is included before amxmodx 2007-02-19 07:03:26 +00:00
Steve Dudenhoeffer
dd8f138892 Back ported revision 3242 - Every include file now is const correct (am49281) 2007-01-26 05:56:10 +00:00
David Anderson
78956f3d89 merged bcompat changed into trunk
removed amxmod compat files for now
2006-09-01 03:29:27 +00:00
Pavol Marko
afa1337e62 because gabe doesn't rollover, he just expands 2005-09-08 15:29:31 +00:00
Pavol Marko
cc34f468f0 Added a new math stock function. 2005-09-08 15:24:28 +00:00
Johnny Bergström
85f5604d43 *** empty log message *** 2005-03-30 18:43:43 +00:00
Johnny Bergström
fa42dbf011 Added stock admin_print(access, const DESTINATION, const MSG[]); 2005-03-30 11:37:41 +00:00
Johnny Bergström
5f7dabf9b6 *cough* 2005-01-15 12:24:14 +00:00
Johnny Bergström
e343d224ce amx_menu: A new menu also reachable by non-admin clients. Scripters can add their plugin menus as an item in this menu (Wc3 menu, Superhero info, etc...) so that a client don't have to bind/know a million different menu commands. This could become a one-stop-shop for all of the clients menu needs. Let's hope it catches on. :-)
For this menufront.sma adds: "amx_addclientmenuitem" where server admins can add menu items from plugins that don't support this yet.
amxmisc.inc is also updated to support this.
2005-01-15 09:58:51 +00:00
Pavol Marko
ec02883f6e Added stocks:
find_plugin_byfile
find_plugin_bydesc
2004-10-30 13:27:22 +00:00
Johnny Bergström
940b0be4b9 Don't ask 2 2004-10-08 08:59:04 +00:00
Johnny Bergström
75f49e78b0 Don't ask 2004-10-08 08:53:27 +00:00
Johnny Bergström
2733adbb49 Added AddMenuItem 2004-10-08 08:36:54 +00:00
David Anderson
ef90960121 Fixed ADMIN_ALL bug 2004-10-03 06:23:25 +00:00
Felix Geyer
0eb04ba899 updated to use the multi-lingual system 2004-08-06 18:40:59 +00:00
Felix Geyer
af69e24eaf added register_menu() | fixed a compiler warning in access() 2004-07-31 01:00:20 +00:00
Felix Geyer
123262235e added "cs13" to cstrike_running() 2004-07-27 21:06:36 +00:00
Felix Geyer
6d74c31597 added cstrike_running 2004-07-27 16:42:59 +00:00
Felix Geyer
0cb1aabb90 added colored_menus() 2004-07-26 15:07:25 +00:00
Felix Geyer
5a93f4a80b fixed is_user_admin()
changed access functions to new ADMIN_ADMIN
2004-07-24 11:02:49 +00:00
David Anderson
fd9666d068 Added change_task()
Added server_changelevel forward
Added is_user_admin()
2004-07-18 08:19:20 +00:00
Felix Geyer
3b2d711c4f added get_datadir
changed get_customdir (backwards compatibility)
2004-06-29 16:38:27 +00:00
Felix Geyer
fd9cc48bad better support for czero 2004-03-28 14:26:39 +00:00
Felix Geyer
05cf53e1b9 nothing important 2004-03-25 18:37:02 +00:00
Felix Geyer
64a7afa371 added localinfo stocks 2004-03-25 13:34:27 +00:00
Felix Geyer
bbb5adc70f added get_user_wonid() 2004-03-16 19:40:02 +00:00
Felix Geyer
0bdc09d3d9 hardcoded pathes 2004-03-09 15:53:40 +00:00
Felix Geyer
10a28dcde9 changed to str_to_num/num_to_str 2004-03-08 17:18:34 +00:00
David Anderson
c6dd8eac6b Removed bad str/num funcs 2004-03-08 05:28:18 +00:00
Felix Geyer
9f6b206881 compatible to new include files 2004-03-07 14:30:53 +00:00
Felix Geyer
75ac8fd494 moved backwards compatibility to amxmod.inc 2004-03-07 11:23:57 +00:00
Felix Geyer
b0e83a9116 nothing important 2004-03-07 00:49:23 +00:00