Jump to content
GIGN Forum

Amx_ Komandu Modifikacija =]


Recommended Posts

ūn kā ar cmdaccess.cfg .. kursh atrodas configs mapīte?

; This file will store the commands used by plugins, and their access level

; To change the access of a command, edit the flags beside it and then

; change the server's map.

;

; Example: If I wanted to change the amx_slap access to require

; RCON access (flag "l") I would change this:

; "amx_slap" "e" ; admincmd.amxx

; To this:

; "amx_slap" "l" ; admincmd.amxx

;

; To disable a specific command from being used with the command manager

; and to only use the plugin-specified access set the flag to "!"

;

; NOTE: The plugin name at the end is just for reference to what plugin

; uses what commands. It is ignored.

"xstatscfgmenu" "h" ; statscfg.amxx

"xstatscfg" "h" ; statscfg.amxx

"xreloadadmins" "h" ; admin.amxx

"xaddadmin" "l" ; admin.amxx

"xkick" "c" ; admincmd.amxx

"xban" "d" ; admincmd.amxx

"xbanip" "d" ; admincmd.amxx

"xaddban" "d" ; admincmd.amxx

"xunban" "d" ; admincmd.amxx

"xslay" "e" ; admincmd.amxx

"xslap" "e" ; admincmd.amxx

"xleave" "c" ; admincmd.amxx

"xpause" "g" ; admincmd.amxx

"xwho" "y" ; admincmd.amxx

"xcvar" "g" ; admincmd.amxx

"xplugins" "y" ; admincmd.amxx

"xmodules" "y" ; admincmd.amxx

"xmap" "f" ; admincmd.amxx

"xcfg" "h" ; admincmd.amxx

"xnick" "e" ; admincmd.amxx

"xlast" "d" ; admincmd.amxx

"xrcon" "l" ; admincmd.amxx

"xshowrcon" "l" ; admincmd.amxx

"xhelp" "" ; adminhelp.amxx

"xsetlang" "h" ; multilingual.amxx

"xlangmenu" "" ; multilingual.amxx

"xmodmenu" "u" ; menufront.amxx

"xmenu" "" ; menufront.amxx

"xcmdmenu" "u" ; cmdmenu.amxx

"xcfgmenu" "u" ; cmdmenu.amxx

"xspeechmenu" "u" ; cmdmenu.amxx

"xcvarmenu" "g" ; cmdmenu.amxx

"xkickmenu" "c" ; plmenu.amxx

"xbanmenu" "d" ; plmenu.amxx

"xslapmenu" "e" ; plmenu.amxx

"xteammenu" "m" ; plmenu.amxx

"xclcmdmenu" "m" ; plmenu.amxx

"xmapmenu" "f" ; mapsmenu.amxx

"xvotemapmenu" "j" ; mapsmenu.amxx

"xsay" "i" ; adminchat.amxx

"xchat" "i" ; adminchat.amxx

"xpsay" "i" ; adminchat.amxx

"xtsay" "i" ; adminchat.amxx

"xcsay" "i" ; adminchat.amxx

"xvotemap" "j" ; adminvote.amxx

"xvotekick" "j" ; adminvote.amxx

"xvoteban" "j" ; adminvote.amxx

"xvote" "j" ; adminvote.amxx

"xcancelvote" "j" ; adminvote.amxx

"xpausecfg" "h" ; pausecfg.amxx

"xpausecfgmenu" "h" ; pausecfg.amxx

"xoff" "h" ; pausecfg.amxx

"xon" "h" ; pausecfg.amxx

"xteleportmenu" "h" ; telemenu.amxx

"xrestmenu" "h" ; restmenu.amxx

"xrestrict" "h" ; restmenu.amxx

"wc3_givexp" "" ; war3ft.amxx

"wc3_setlevel" "" ; war3ft.amxx

"wc3_giveitem" "" ; war3ft.amxx

"wc3_enable" "" ; war3ft.amxx

"wc3_disable" "" ; war3ft.amxx

"xgivexp" "" ; war3ft.amxx

"xreloadreasons" "h" ; amxbans.amxx

"amxbans_custombanreason" "d" ; amxbans.amxx

"xbanhistorymenu" "d" ; amxbans.amxx

"xfind" "d" ; amxbans.amxx

"xfindex" "d" ; amxbans.amxx

"xaddmetk" "m" ; amxx_atac2.5.4.14.amxx

"xatacmenu" "h" ; amxx_atac_cfg1.1.06.amxx

"rhlg_screen" "u" ; reallite_hlg.amxx

"rhlg_menu" "u" ; reallite_hlg.amxx

"0challenge" "h" ; automatic_knife_duel.amxx

"xrestart" "m" ; autorr.amxx

"xlo3" "h" ; autorr.amxx

"xswitchall" "n" ; autorr.amxx

"xspecnchoose" "o" ; autorr.amxx

"xrestartgame" "h" ; restartgame.amxx

"xgag" "c" ; admin_gag.amxx

"xungag" "c" ; admin_gag.amxx

"xnamel" "n" ; amx_namelock.amxx

"xnameul" "n" ; amx_namelock.amxx

"xlock_name" "n" ; amx_namelock.amxx

"xunlock_name" "n" ; amx_namelock.amxx

Link to comment
Share on other sites

Editee sho vietu (menufront.sma)

AddDefaultMenus()

{

AddMenuLang("KICK_PLAYER", "amx_kickmenu", ADMIN_KICK, "Players Menu")

AddMenuLang("BAN_PLAYER", "amx_banmenu", ADMIN_BAN, "Players Menu")

AddMenuLang("SLAP_SLAY", "amx_slapmenu", ADMIN_SLAY, "Players Menu")

AddMenuLang("TEAM_PLAYER", "amx_teammenu", ADMIN_LEVEL_A, "Players Menu")

AddMenuLang("CHANGEL", "amx_mapmenu", ADMIN_MAP, "Maps Menu")

AddMenuLang("VOTE_MAPS", "amx_votemapmenu", ADMIN_VOTE, "Maps Menu")

AddMenuLang("SPECH_STUFF", "amx_speechmenu", ADMIN_MENU, "Commands Menu")

AddMenuLang("CLIENT_COM", "amx_clcmdmenu", ADMIN_LEVEL_A, "Players Menu")

AddMenuLang("SERVER_COM", "amx_cmdmenu", ADMIN_MENU, "Commands Menu")

AddMenuLang("CVARS_SET", "amx_cvarmenu", ADMIN_CVAR, "Commands Menu")

AddMenuLang("CONFIG", "amx_cfgmenu", ADMIN_MENU, "Commands Menu")

AddMenuLang("LANG_SET", "amx_langmenu", ADMIN_CFG, "Multi-Lingual System")

AddMenuLang("STATS_SET", "amx_statscfgmenu", ADMIN_CFG, "Stats Configuration")

AddMenuLang("PAUSE_PLUG", "amx_pausecfgmenu", ADMIN_CFG, "Pause Plugins")

AddMenuLang("RES_WEAP", "amx_restmenu", ADMIN_CFG, "Restrict Weapons")

AddMenuLang("TELE_PLAYER", "amx_teleportmenu", ADMIN_CFG, "Teleport Menu")

}

Un sho vietu(menufront.sma)

register_clcmd("amxmodmenu", "cmdMenu", ADMIN_MENU, "- displays menus")
Link to comment
Share on other sites

Opsā!

Tu teici edite un un

Nevajadzēja

AddDefaultMenus()

{

AddMenuLang("KICK_PLAYER", "amx_kickmenu", ADMIN_KICK, "Players Menu")

AddMenuLang("BAN_PLAYER", "amx_banmenu", ADMIN_BAN, "Players Menu")

AddMenuLang("SLAP_SLAY", "amx_slapmenu", ADMIN_SLAY, "Players Menu")

AddMenuLang("TEAM_PLAYER", "amx_teammenu", ADMIN_LEVEL_A, "Players Menu")

AddMenuLang("CHANGEL", "amx_mapmenu", ADMIN_MAP, "Maps Menu")

AddMenuLang("VOTE_MAPS", "amx_votemapmenu", ADMIN_VOTE, "Maps Menu")

AddMenuLang("SPECH_STUFF", "amx_speechmenu", ADMIN_MENU, "Commands Menu")

AddMenuLang("CLIENT_COM", "amx_clcmdmenu", ADMIN_LEVEL_A, "Players Menu")

AddMenuLang("SERVER_COM", "amx_cmdmenu", ADMIN_MENU, "Commands Menu")

AddMenuLang("CVARS_SET", "amx_cvarmenu", ADMIN_CVAR, "Commands Menu")

AddMenuLang("CONFIG", "amx_cfgmenu", ADMIN_MENU, "Commands Menu")

AddMenuLang("LANG_SET", "amx_langmenu", ADMIN_CFG, "Multi-Lingual System")

AddMenuLang("STATS_SET", "amx_statscfgmenu", ADMIN_CFG, "Stats Configuration")

AddMenuLang("PAUSE_PLUG", "amx_pausecfgmenu", ADMIN_CFG, "Pause Plugins")

AddMenuLang("RES_WEAP", "amx_restmenu", ADMIN_CFG, "Restrict Weapons")

AddMenuLang("TELE_PLAYER", "amx_teleportmenu", ADMIN_CFG, "Teleport Menu")

}

nodzēst un ieraxtīt

register_clcmd("amxmodmenu", "cmdMenu", ADMIN_MENU, "- displays menus")

???

Ir jau arī edit poga...

Edited by k!ll3r
Link to comment
Share on other sites

Piemeram:

AddMenuLang("KICK_PLAYER", "amx_kickmenu", ADMIN_KICK, "Players Menu")

Nomaini uz:

AddMenuLang("KICK_PLAYER", "xkickmenu", ADMIN_KICK, "Players Menu")

Taa pat arii visus pareejos.

Sho:

register_clcmd("amxmodmenu", "cmdMenu", ADMIN_MENU, "- displays menus")

nomaini uz:

register_clcmd("xmodmenu", "cmdMenu", ADMIN_MENU, "- displays menus")
Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...