#include <amxmodx>
#include <amxmisc>
#include <hamsandwich>
#include <cstrike>
#include <fun>
#define PLUGIN "Vip GunMenu"
#define VERSION "1.0"
#define AUTHOR "SenaTor"
#define ADMIN_ACCESS ADMIN_ALL
new bool:imaC4[ 33 ];
new menu;
new cvar_second;
public plugin_init()
{
register_plugin("Gun Menu", "1.0", "26-{indra}")
register_plugin(PLUGIN, VERSION, AUTHOR)
RegisterHam(Ham_Spawn, "player", "fw_PlayerSpawn_Post", 1)
cvar_second = register_cvar("Show_Menu_seconds", "0.5")
}
public fw_PlayerSpawn_Post(id)
{
if (!is_user_alive(id))
return;
set_task(get_pcvar_float(cvar_second), "Vip_menu", id)
}
public Vip_menu(id)
{
if (!is_user_alive(id))
return
new flags = get_user_flags(id)
menu = menu_create("\r[\wW\rP \yGaming | \rWeapon \wMenu\r]", "VIP_handler")
-----------REQUESTED TEXT WOULD GO HERE-------------
if(flags & ADMIN_ALL)
menu_additem( menu, "\r[\wM4A1 \y+ \wDeagle\r]", "", ADMIN_ACCESS)
else
menu_additem( menu, "\r[\wM4A1 \y+ \wDeagle\r]", "", ADMIN_ACCESS)
if(flags & ADMIN_ALL)
menu_additem( menu, "\r[\wAK47 \y+ \wDeagle\r]", "", ADMIN_ACCESS)
else
menu_additem( menu, "\r[\wAK47 \y+ \wDeagle\r]", "", ADMIN_ACCESS)
if(flags & ADMIN_ALL)
menu_additem( menu, "\r[\wFAMAS \y+ \wDeagle\r]", "", ADMIN_ACCESS)
else
menu_additem( menu, "\r[\wFAMAS \y+ \wDeagle\r]", "", ADMIN_ACCESS)
Above is just a partial script from .sma file.
I want to add message between the menu title "WP Gaming Weapon Menu" and the weapons list, like it shows with the arrow and blue line in this picture. That's Where I want to write this text: "Want Admin? Apply on Facebook"
Thanks!