it s mine init ....
Code:
public plugin_init(){
register_plugin(STB_PLUGIN,STB_VERSION,STB_NAME)
register_cvar("stbvar","1")
register_clcmd("say /stbme","stb_me",0,msgs[0])
register_clcmd("say_team /stbme","stb_me",0,msgs[0])
register_clcmd("say /stball","stb_all",ADMIN_STB,msgs[1])
register_clcmd("say_team /stball","stb_all",ADMIN_STB,msgs[1])
register_concmd("stb_t","stb_force",ADMIN_STB,msgs[2])
register_concmd("stb_ct","stb_force",ADMIN_STB,msgs[3])
format(g_logFileName, 255, "addons/amxx/logs/stb.log");
if(file_exists(g_logFileName) == 1)
get_time("addons/amxx/logs/stb.log",g_logFileName,255)
else write_file(g_logFileName,"")
register_event("ResetHUD","reset_hud","b")
return PLUGIN_CONTINUE
}
all are defined
Code:
#define ADMIN_STB ADMIN_RCON
new STB_PLUGI........
etc....
amx_help.... no command stb_..... etc...
like the plugin isnt here
but Cvar is registered and plugin is running
someone have a clue ?
__________________