Skocz do zawartości

  • Zaloguj korzystając z Facebooka Zaloguj korzystając z Twittera Zaloguj przez Steam Zaloguj poprzez Google      Logowanie »   
  • Rejestracja

Witamy w Nieoficjalnym polskim support'cie AMX Mod X

Witamy w Nieoficjalnym polskim support'cie AMX Mod X, jak w większości społeczności internetowych musisz się zarejestrować aby móc odpowiadać lub zakładać nowe tematy, ale nie bój się to jest prosty proces w którym wymagamy minimalnych informacji.

  • Rozpoczynaj nowe tematy i odpowiedaj na inne
  • Zapisz się do tematów i for, aby otrzymywać automatyczne uaktualnienia
  • Dodawaj wydarzenia do kalendarza społecznościowego
  • Stwórz swój własny profil i zdobywaj nowych znajomych
  • Zdobywaj nowe doświadczenia

Dołączona grafika Dołączona grafika

Guest Message by DevFuse
 

Zdjęcie

Weapon Menu Creator [ V 0.1 ]


  • Nie możesz napisać tematu
  • Zaloguj się, aby dodać odpowiedź
Brak odpowiedzi do tego tematu

#1 Adminek AMXX.PL

    Admin :)

  • Bot

Reputacja: 156
Profesjonalista

  • Postów:7179
  • Lokalizacja:AMXX.PL
Offline

Napisano 07.08.2014 12:23

Weapons Menu Creator 0.1
Release: 07.08.2014


Basically, this plugin has a simple goal, to make servers owners work much easier. Many of them use custom weapons menu, and when they want a change, they mus make another request.
With this one, they can simply edit a file, change the map, and they have a new weapons menu.

Some features that this plugin provides:
  • Easy edit your menu from a file.
  • You can have two menus: primary & secondary weapons.
  • You can set how many bullets you want for each weapon.
  • You can set some admin acces for weapons.
  • You can set a prive for a weapon, or let it free.
As a note, you are not forced to have a primary and a secondary menu. If you want one to be disabled, don't add weapons to it.

Table of Contents

Commands
Cvars
Installation
File Configuration Guide
Possible Use
Change Log

Commands
top




Code:
  • say/say_team /weapons

    This command will open the weapons menu.
    Command will fail in this situations:
    - player not alive
    - player already choosed weapons
    - different team from the one set by cvar

Cvars
top




Code:
  • team_acces

    With this cvar you can decide what team can use weapons menu
    0 - both team can use menu
    1 - only T can use menu
    2 - only CT can use menu
    3 - no team can use menu. Plugin will be paused.

Installation
top

  • Download the files provided at the end of this post.
  • Put the amxx file into addons/amxmodx/plugins.
  • Put the sma file into addons/amxmodx/scripting ( OPTIONAL ).
  • Open addons/amxmodx/configs/plugins.ini and add at the end of the file plugin_name.amxx
  • Restart/Change MAP
You don't need to care about the file, it created automatically into addons/amxmodx/configs with the name weapons.ini

File Configuration Guide
top




Code:
  • Basic information:

    You add primary weapons at [PRIMARY] section.
    You add secondary weapons at [SECONDARY] section.
    You add weapons in this format Weapon Bullets Acces Price
  • Weapon Names

    You can find a list of all primary and secondary weapons into the file.
    You are free to write the names how you want( capitalized or not ).
  • Admin flags

    They are described into the file.
    ALL - allow all players to use the item from the menu.
    NOONE - restricted to all. This make the item to DON'T appear in the menu
    RCON - available only to rcon admins
    NORMAL - available to every admin with admin default flag(editable from source) - ADMIN_ACCES. [ DEFAULT: ADMIN_BAN ]
  • Bullets

    There is a max ammo to set up, but I can't remember the exact ammount.
  • Price

    You are able to set up a price for every weapon.
    Use 0 to make the weapon free
  • Building your menu

    A line example: SG550 205 ALL 0
    If you want to mix them, so you will have both, primary & secondary weapons in the same menu, just let one of the menus empty and add into the other one the weapons you want ( UNTESTED ).
Possible Use
top


You could use this for a furien server, so you will create very easy anti furiens menu.
If for some reason you want to block the original buy menu, you may use this to create your own.


Change Log
<a href="#top">top




Code:
  • V 0.1
    -Initial release
Attached Files Dołączona grafikaGet Plugin or Get Source (advanced_menu_creator.sma - 11.5 KB)

Wyświetl pełny artykuł




Użytkownicy przeglądający ten temat: 0

0 użytkowników, 0 gości, 0 anonimowych