←  Pytania

AMXX.pl: Support AMX Mod X i SourceMod

»

pytanie "amxmodmenu"

Zablokowany

  • +
  • -
bolek_stw - zdjęcie bolek_stw 09.06.2010

mam pytanie amxmodmenu a więc chciałbym dodać do menu np. żeby plugin robił ss-y lub coś innego to jak to mam dodać trzeba edytować jakieś .sma czy jak :wstyd:
Odpowiedz

  • +
  • -
Szyfrant - zdjęcie Szyfrant 09.06.2010

tzn? chcesz doać do amxmodmenu np menu robienia SS??

Jeśli tak to tu masz przykad:

customemenuitems.cfg

/ Here you can add menu items from any plugin to Menus Front-End plugin, aka "amxmodmenu".
// You can also add menu items to the normal non-admin client menu "amx_menu".
//
// Adding to "amxmodmenu":
// Usage: "amx_addmenuitem <menu text> <menu command> <access flags> <plugin name>"
//
// Adding to "amx_menu":
// Usage: "amx_addclientmenuitem <menu text> <menu command> <access flags> <plugin name>"
//
// <menu text>: This is the text displayed in the menu itself for this item.
// <menu command>: This is the client command used to access the menu.
// <access flags>: Specify what access flags admins must have to use this menu item. (Check users.ini for access flags.)
// <plugin name>: This must be the _exact_ (though case insensitive) name of the plugin which holds the menu command. (Use "amxx plugins" in server console, plugin names are listed in Name column.)
//
// Example: (be sure to use quotes around parameters with spaces!)
//
// amx_addmenuitem "Weapon Arena" "weaponarena_menu" "hu" "Weapon Arena"
// amx_addclientmenuitem "Warcraft 3" "war3menu" "" "Warcraft 3 XP"


jak chcesz do amxmodmenu to na końcu wpisz:


"amx_addmenuitem <SSy> <amx_ssbanmenu> <hu> <AMXSSBan>"

TO JEST TYLKO PRZYKŁAD ;]
Odpowiedz

  • +
  • -
Pawlak093 - zdjęcie Pawlak093 10.06.2010

addons/amxmodx/confings/clcmds.ini
najlepiej usuń sobie te slapy i bany na 5 minut a dodaj to:
"Screenshot"            "amx_ss #%userid% 5"            "bd"    "u"
a potem amxmodmenu - 8 - i wybierz gracza do ssów :]
Odpowiedz

  • +
  • -
bolek_stw - zdjęcie bolek_stw 15.06.2010

ja chce uzyskać takie coś
Dołączona grafika
pkt 7 i 8
Odpowiedz
Zablokowany