hi,
can some one tell me whats the problem?
i want when some one got in level 40 he will get ADMIN_LEVEL_H
PHP Code:
#include <amxmisc>
#include <crxranks>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_event("HLTV", "new_round", "a", "1=0", "2=0");
}
public new_round(id)
{
if(crxranks_get_user_level(id) >= 40)
{
SetVipFlag(id)
}
}
SetVipFlag( id )
{
set_user_flags( id, ADMIN_LEVEL_H );
}