#include <amxmodx>
new const PLUGIN[] = "Admin/VIP"
new const VERSION[] = "0.1"
new const AUTHOR[] = "maFFyoZZyk?!"
new vip_info;
new admin_info;
new girl_info;
public plugin_init()
{
register_plugin( PLUGIN, VERSION, AUTHOR )
register_clcmd( "say /vip", "Vip_Informer" );
register_clcmd( "say /admin", "Admin_Informer" );
register_clcmd( "say /girl", "Girl_Informer" );
vip_info = register_cvar( "vip_informer", "1" )
admin_info = register_cvar( "admin_informer", "1" )
girl_info = register_cvar( "admin_informer", "1" )
}
public Vip_Informer(id)
{
if( get_pcvar_num ( vip_info ) )
{
show_motd(id, "addons\amxmodx\configs\vip\vip.txt", "VIP's система");
}
}
public Admin_Informer(id)
{
if( get_pcvar_num ( admin_info ) )
{
show_motd(id, "addons\amxmodx\configs\vip\admin.txt", "ADMIN's система");
}
}
public Girl_Informer(id)
{
if( get_pcvar_num ( girl_info ) )
{
show_motd(id, "addons\amxmodx\configs\vip\girl.txt", "GIRL's система");
}
}