Not sure what the topic name should be ...
anyways
PHP Code:
#include <amxmodx>
#define PLUGIN "Test"
#define VERSION "1.0"
#define AUTHOR "EpicMonkey"
new g_Test[32];
public plugin_init()
{
register_plugin(PLUGIN, VERSION, AUTHOR)
register_clcmd("say /test", "Test")
register_clcmd("say /check", "Check")
}
public Test(id)
{
new pnum;
get_players(g_Test, pnum, "ae", "CT")
}
public Check(id)
{
if(g_Test[id])
{
client_print(id, print_chat, "[AMXX] You are a Test Player")
}
else
{
client_print(id, print_chat, "[AMXX] You are not a Test Player")
}
}
returns You are not a test player when am in CT
No idea ...