Raised This Month: $ Target: $400
 0% 

Help Please! Be Greatly Welcomed!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nnukka
New Member
Join Date: Sep 2007
Old 09-23-2007 , 19:09   Help Please! Be Greatly Welcomed!
Reply With Quote #1

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?
nnukka is offline
M249-M4A1
I <3 Mac
Join Date: May 2005
Location: Not interested
Old 09-23-2007 , 19:55   Re: Help Please! Be Greatly Welcomed!
Reply With Quote #2

Admin menu, you mean amxmodmenu?
__________________
M249-M4A1 is offline
nnukka
New Member
Join Date: Sep 2007
Old 09-23-2007 , 20:00   Re: Help Please! Be Greatly Welcomed!
Reply With Quote #3

no this is a mod im trying to help fix... and im stuck here? and i cant find out what th command is to open this menu or if there even is one?
nnukka is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 09-23-2007 , 22:08   Re: Help Please! Be Greatly Welcomed!
Reply With Quote #4

Post in Scripting Help
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 09-24-2007 , 03:22   Re: Help Please! Be Greatly Welcomed!
Reply With Quote #5

Check out amxmodx/configs/cmds.ini

You can add lines to the menu there. Then make a plugin and actually create the commands.
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:12.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode