@diamond-optic
You can only use the option specified by GHW_Chronic when you are OUT of game, so like in the server console or using HLSW, if you try it while in game and lets say you specify amx_help 1 120 you will get an overflow....now if you do something like amx_help 1 50 you may or may not get an overflow... either way you Cant use that 3rd option in game as a player:
Code:
register_concmd("amx_help", "cmdHelp", 0, "<page> [nr of cmds (only for server)] - displays this help")
...
public cmdHelp(id, level, cid)
{
...
if (id == 0 && read_argc() == 3)
As you can see here it looks to make sure you are not a player id == 0, then and ONLY then will read argument 3
As for whats the difference between mine and GHW_Chronic:
Cleaner:
Mine will give a properly counted out amount of commands such as:
Will output something like:
Quote:
----- AMX Mod X Help Search: Commands -----
1: amx_addban <authid or ip> <minutes> [reason]
2: amx_addban <"steamid" or "ip"> <minutes> [reason]
3: amx_ban <name or #userid> <minutes> [reason]
4: amx_ban <"name" or #userid> <minutes> [reason]
5: amx_banip <name or #userid> <minutes> [reason]
6: amx_banip <"name" or #userid> <minutes> [reason]
7: amx_unban <authid or ip>
8: amx_unban <"steamid" or "ip">
9: amx_voteban <name or #userid>
----- Entries 1 - 9 of 9 -----
----- Use 'amx_helps ban 1' for begin -----
|
Whereas GHW_Chronic will give you something like:
Quote:
---Results:---
8: amx_addban <authid or ip> <minutes> [reason]
9: amx_addban <"steamid" or "ip"> <minutes> [reason]
17: amx_ban <name or #userid> <minutes> [reason]
18: amx_ban <"name" or #userid> <minutes> [reason]
19: amx_banip <name or #userid> <minutes> [reason]
20: amx_banip <"name" or #userid> <minutes> [reason]
21: amx_banmenu - displays ban menu
126: amx_unban <authid or ip>
127: amx_unban <"steamid" or "ip">
136: amx_voteban <name or #userid>
---End---
10 Commands Found Matching "ban"
|
Multilingual: Mine is multilingual whereas his is not.
Not prone to overflow, try GHW_Chronic's plugin as a client with the following:
You may get an overflow! You decide.
If people are looking at this and not approving it because of GHW_Chronic already having a plugin out, look at the date on my First version of this, all this was suppose to be was an update, but someone trashed it. Duno who, so I posted it as new. I think it should be approved, but I'm not pushing. Its up to the members of Amxmodx to choose what they want to use.
Cheers!
__________________