hello,
iv been trying to setup an client side(non-admin) menu from 2 days now with little or no success
...
What i basically want is to setup a client side menu for general/non-admin users who can do following :-
1.Initate a vote for a new map from mapcycle.txt
2.Initate a vote to extend maptime
3.Initiate a vote to kick a user
This is
what iv understood till now
Since i hav given "z" access flag to all non-admin user's, they only
have access to "amx_menu" command...
Iv learnt to add items in "amx_menu" through the file "custommenuitems.cfg"..
I have all base plugins runnig, nothing more
custommenuitems.cfg
Quote:
amx_addclientmenuitem "Voting for map change" "amx_votemapmenu" "z" "Nextmap Chooser"
|
amxx.cfg
Quote:
// AMX Configuration File
echo Executing AMX Mod X Configuration File
// Default access for all non admin players (see users.ini for access details)
amx_default_access "z"
// Name of setinfo which should store a password on a client (you should change this)
// (Example: setinfo _pw "password")
amx_password_field "_passwa"
// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
amx_mode 1
// Show admins activity
// 0 - disabled
// 1 - show without admin name
// 2 - show with name
amx_show_activity 2
// Frequency in seconds and text of scrolling message
amx_scrollmsg "Message 1" 60
// Center typed colored messages (last parameter is a color in RRRGGGBBB format)
amx_imessage "Server Protected By sXe-Injected vr.3.3/nDownload sXe Client from www.sxe-injected.com.ar" "000255100"
// Frequency in seconds of colored messages
amx_freq_imessage 180
// Set in seconds how fast players can chat (chat-flood protection)
amx_flood_time 2
// Amount of reserved slots, amx_hideslots must be 1 to use this cvar (for more details see comments in plugin source)
amx_reservation 1
// If you set this to 1, you can hide slots on your server
amx_hideslots 1
// Displaying of time remaining
// a - display white text on bottom
// b - use voice
// c - don't add "remaining" (only in voice)
// d - don't add "hours/minutes/seconds" (only in voice)
// e - show/speak if current time is less than this set in parameter
amx_time_display "ab 600" "ab 300" "ab 180" "ab 120" "ab 60" "bcde 11"
// Announce "say thetime" and "say timeleft" with voice
amx_time_voice 1
// Minimum delay in seconds between two voting sessions
amx_vote_delay 60
// How long voting session goes on
amx_vote_time 30
// Display who votes for what option
amx_vote_answers 0
// Some ratios for voting success
amx_votekick_ratio 0.50
amx_voteban_ratio 0.50
amx_votemap_ratio 0.40
amx_vote_ratio 0.40
// Max. time to which map can be extended
amx_extendmap_max 30
// Step for each extending
amx_extendmap_step 10
//If you set this to 0, clients cannot chose their language
amx_client_languages 0
// Plugin Debug mode
// 0 - No debugging (garbage line numbers)
// 1 - Plugins with "debug" option in plugins.ini are put into debug mode
// 2 - All plugins are put in debug mode
// Note - debug mode will affect JIT performance
amx_debug 1
// Plugin MultiLingual Debug
// To debug a language put its 2 letter code between quotes ("en", "de", etc)
// "" means disabled
amx_mldebug ""
|
plugins.ini
Quote:
; AMX Mod X plugins
; Admin Base - Always one has to be activated
admin.amxx ; admin base (required for any admin-related)
;admin_sql.amxx ; admin base - SQL version (comment admin.amxx)
; Basic
admincmd.amxx ; basic admin console commands
adminhelp.amxx ; help command for admin console commands
adminslots.amxx ; slot reservation
;multilingual.amxx ; Multi-Lingual management
; Menus
menufront.amxx ; front-end for admin menus
cmdmenu.amxx ; command menu (speech, settings)
plmenu.amxx ; players menu (kick, ban, client cmds.)
;telemenu.amxx ; teleport menu (Fun Module required!)
mapsmenu.amxx ; maps menu (vote, changelevel)
; Chat / Messages
adminchat.amxx ; console chat commands
antiflood.amxx ; prevent clients from chat-flooding the server
scrollmsg.amxx ; displays a scrolling message
imessage.amxx ; displays information messages
adminvote.amxx ; vote commands
; Map related
nextmap.amxx ; displays next map in mapcycle
mapchooser.amxx ; allows to vote for next map
timeleft.amxx ; displays time left on map
; Configuration
pausecfg.amxx ; allows to pause and unpause some plugins
statscfg.amxx ; allows to manage stats plugins via menu and commands
|
When I or any1 join's after opening menu(amx_menu) they get
AXM Client Menu :
1.Voting for Map change
0. Exit
and on pressing 1 nothing happens..
Please tell me how to get this done and what i need to do
I will be really greatful
thnx in advance