Code:
public adminmenu(id) {
if (ffxenable==false) return PLUGIN_CONTINUE
new szMenuBody50[200]
new keys
format( szMenuBody50, 199, "Admin Menu:" )
add( szMenuBody50, 199, "^n\y 1.|. Give yourself xp + 400. " )
add( szMenuBody50, 199, "^n\y 2.|. Give a player xp + 400. " )
add( szMenuBody50, 199, "^n\y 3.|. Force a player to drop a weapon. " )
add( szMenuBody50, 199, "^n\y 4.|. Force a player to drop a armor. " )
add( szMenuBody50, 199, "^n\y 5.|. Remove a players xp. " )
add( szMenuBody50, 199, "^n\y 6.|. Deathmatch on or off. " )
add( szMenuBody50, 199, "^n\y 0. Exit. " )
keys = (1<<0|1<<1|1<<2|1<<3|1<<4|1<<5|1<<9)
show_menu( id, keys, szMenuBody50, -1 )
return PLUGIN_CONTINUE
}
Can somepone tell me what the command is to open the admin menu? or can some 1 fix this code so there can be a comand to open the admin menu? like ffxmodmenu into console to open the admin menu?