PHP Code:
public client_connect(id)
{
if ((!get_user_flags(id) & ADMIN_LEVEL_G))
{
server_cmd("kick #%d ^"Server is full bla bla ^" ", get_user_userid(id));
}
return PLUGIN_CONTINUE;
I found this code and I have the question. How I can change this code, what he came for knife mod. I whant what when user(he dont have admin_level_g) he whrite /knife and print msg (you are not a vip) and dont show knife mod menu, but when user(which have admin_level_g) whrite /knife, show knife mod menu for him and he can choose the knife. pls help me