But I use a lot of cmd's, not only 3. However, here is the decision I've made

Like this:
PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "X"
#define VERSION "1.0"
#define AUTHOR "Flicker"
enum _:Data
{
_cmd[32],
_func[32]
}
new num
new const Stuff[][]=
{
{""},
{"say /hp","GiveHP"},
{"say /armor", "GiveArmor"}
}
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
for(new i = 1; i < sizeof(Stuff); i++)
register_clcmd(Stuff[i][_cmd], Stuff[i][_func])
}
public GiveHP(id){ num = 1; Function(id);}
public GiveArmor(id){ num = 2; Function(id);}
public Function(id)
{
//Bla, bla, bla
//Doin my stuff usong the needed num from the constant :D
}
__________________