Page 1 of 1

[03/04/10] New Command Adder

Posted: Sun Nov 21, 2021 8:21 pm
by greenie
New Command Adder
Credits :
Arkshine - Fixing saving ( thanks again :p )
xPaw - Fixing bugs
Exolent - Fixing bugs
Hawk552 - Fixing coding errors

Information :
Ever got annoyed because there were commands that were to long or commands you cant remember and you dont want to modify the source code?
With this plugin you can replace old commands with new.
Note : The old commands will still work.
Note : flags will be the same as the original command.

Commands :
amx_addcommand newcmdname oldcmdname type
type 0 = old command is a normal command. (console command)
type 1 = old command is a say or say_team command.
Note : The new commands work in console and with say or say_team

amx_reloadcommands
When adding new commands reload them with this command.

amx_removecommands
Delete all new commands.
Cvars
ca_enable Default : 1 Enables/Disables the plugin
Changelog
Version 1.0 : Initial Release
Version 1.1 : Fixed bugs + Added Trie
Version 1.2 : Fixed bugs
Version 1.3 : Fixed coding errors
get plugin
get source