Commit Graph

28 Commits

Author SHA1 Message Date
Vincent Herbet
07c3d49cfa Add amx_searchcmd command in adminhelp plugin and do some clean up (#415)
* AdminHelp: Use semicolon everywhere

* AdminHelp: Translate amx_help description

* AdminHelp: Use the available ADMIN_ALL define in register_concmd

* AdminHelp: Bind the cvars

* AdminHelp: Replace %L by %l

* AdminHelp: Remove task only when necessary

* AdminHelp: Reorder some lines to prepare next commit

* AdminHelp: Use read_arg_int() on the first argument and clamp the value

* AdminHelp: Use read_arg_int() on the second argument and clamp the value

* AdminHelp: Rename few variables and callback

* AdminHelp: Use constants for buffers max length

* AdminHelp: Add amx_searchcmd command, and update the multilingual file

* AdminHelp: Adjust spacing a little for readability

* AdminHelp: Add amx_help_display_msg_time cvar

* AdminHelp: Add the new command in the help message (and fix missing return)

* AdminHelp: Add a check if provided entry no. goes above the total found entries

* AdminHelp: Don't show the help message for begin if all commands are already displayed

* AdminHelp: Make sure the server command use amx_help_amount_per_page value
2017-08-01 22:56:21 +02:00
Arkshine
9054643fe8 Add a param to register_*cmd() and get_*cmd() to indiquate info is a multilingual key + modify plugin 2016-04-16 11:56:49 +02:00
Arkshine
ed4faf7c11 Fix player not being internally disconnected in some situation + add client_disconnected forward 2015-08-14 00:08:50 +02:00
Scott Ehlert
f787db1be5 Update license headers for plugins and includes. 2014-08-04 13:18:41 -05:00
xPaw
fea209fa7f Replace hardcoded defines in adminhelp with cvars 2014-07-27 15:59:09 +03:00
connorr
fd47b6e0c6 Apply general optimizations in adminhelp plugin (bug 5833, r=me)
Former-commit-id: 100fff803ff2796fe0772d83d0cfb15d9b02ee3a
2013-08-05 17:44:15 +02:00
Steve Dudenhoeffer
b9a0ffacc4 Fix for amb118: amx_help would not output ADMIN_ADMIN commands 2007-03-30 01:52:10 +00:00
Borja Ferrer
ddf3b6df32 new cleaned-up version of the plugins (no more OLOcode :D) 2005-09-12 21:06:24 +00:00
Johnny Bergström
7b8165fe6f Removing task waiting to call dispInfo if client disconnects before the task is executed. This fixes run time errors. 2005-02-21 00:31:52 +00:00
Johnny Bergström
3774575160 Fixed a bug in dispInfo: if client disconnected fast enough we got a native error in client_print :-D 2005-02-21 00:23:16 +00:00
Felix Geyer
b35214cce9 fixed many bugs 2004-08-20 20:53:19 +00:00
Felix Geyer
e42aef8714 added #define DISPLAY_MSG 2004-08-13 11:20:12 +00:00
Felix Geyer
0be7ddcbd9 updated to use the multi-lingual system | better code style 2004-08-03 20:11:16 +00:00
Felix Geyer
4fccdd676b use AMXX_VERSION_STR 2004-07-30 23:39:39 +00:00
Felix Geyer
265ef9ab88 removed auto-print to server console 2004-07-29 10:40:46 +00:00
David Anderson
4ab6b083c1 Updated version numbers.
Fixed Condition-Zero support.
Replaced Stats with StatsX.
2004-06-24 08:10:52 +00:00
Johnny Bergström
7bb4c78a33 Small update. Added 2nd parameter to amx_help for server. Server can type "amx_help 1 150" to view 150 help cmds at once. 2004-05-16 11:31:41 +00:00
Felix Geyer
079f824a81 updated version information 2004-03-24 08:30:08 +00:00
Felix Geyer
16e3582ef5 nothing important 2004-03-24 08:19:08 +00:00
David Anderson
1425615e20 Fixed headers. 2004-03-15 21:05:08 +00:00
Felix Geyer
af26dc83a5 changed to str_to_num/num_to_str 2004-03-08 17:34:37 +00:00
Felix Geyer
9f6b206881 compatible to new include files 2004-03-07 14:30:53 +00:00
Felix Geyer
4b81034f81 updated includes 2004-03-05 19:35:38 +00:00
Felix Geyer
3ba4ece791 removed AMX_VERSION_STR 2004-02-21 20:58:35 +00:00
Felix Geyer
8c6374567a updated header 2004-02-21 19:36:35 +00:00
Felix Geyer
c3da720704 updated header | fixed compiler errors 2004-02-11 19:32:01 +00:00
Felix Geyer
51fe5a4822 changed header and version info 2004-02-01 18:45:44 +00:00
Felix Geyer
9e999a0ba6 Initial revision 2004-01-31 20:56:22 +00:00