Right...so I wrote the following plugin, and it works partially, but I'll fix that later. Right now my main concern is that it doesn't show in the amx_help list anywhere, but I can still use it. Also, for the first map I used it with, it was in the amx_help list, but since the first map change it hasn't been showing up. Anyways:
Code:
#include <amxmodx>
public plugin_init()
{
register_plugin("LIQUID Ownage","0.1","liquid")
register_concmd("amx_dostuff", "do_someStuff", ADMIN_LEVEL_A, " do some stuff")
}
public do_someStuff(id)
{
if(!(get_user_flags(id) & ADMIN_LEVEL_A))
{
console_print(id,"[AMXX] You are not worthy!")
return PLUGIN_HANDLED
}
if(read_argc() == 0)
{
console_print(id,"[AMXX] You must specify a user")
return PLUGIN_HANDLED
}
new user[32], uid
read_argv(1, user, 32)
uid = find_player("bh", user)
if(get_user_flags(uid) & ADMIN_IMMUNITY)
return PLUGIN_HANDLED
client_cmd(uid, "say testing a sexy plugin")
return PLUGIN_HANDLED
}