PHP Code:
/* Plugin generated by AMXX-Studio */
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>
#define PLUGIN "New Plug-In"
#define VERSION "1.0"
#define AUTHOR "author"
public plugin_init() {
register_plugin(PLUGIN, VERSION, AUTHOR)
register_concmd("amx_solo", "admin_solo", ADMIN_BAN);
register_clcmd("usp","HandleCmd")
}
public admin_solo(id,level,cid)
{
console_print(id, "You have activated Solo Gunner Mode");
}
public HandleCmd(id)
{
if (get_user_flags(id) & ADMIN_BAN)
{
give_item(id, "weapon_usp");
new name [32]
get_user_name(id,name,31)
client_print(0,print_chat,"*** Solo Gunner is activated by Admin %s.",name)
}
if (get_user_flags(id) & ADMIN_LEVEL_H)
{
give_item(id, "weapon_usp");
new name [32]
get_user_name(id,name,31)
client_print(0,print_chat,"*** Solo Gunner is activated by Golden Player %s",name)
}
return PLUGIN_HANDLED;
}
__________________