Create an account

Weapon Menu API  

Upload: 17 Aug 2022, 12:34
Created by: Supremache [X]
Uploaded by: Aqxaro
Weapon Menu API

Why did i create this plugin? I've seen weapon menu hard code in ze and zp mods and to edit or add something you need to do this on the original source.

Requirements:

  • ReAPI
  • AMX-MODX v1.9+

Supports:

  • Zombie plague 5+ ( #include <zombieplague> )
  • Zombie plague 4+ ( #include <zombieplague> )
  • OciXCrom rank system ( #include <crxranks> )
  • My VIP system ( #include <vip> )

About the description:

I have no idea what to write but you need to test it to see how it works
Note: This plugin is working on any mod like classic, furien, zp, bb etc..

 API

Confing file that you can find the registered weapon data and do changes on the data.

[Golden AK47]
SECTION = Primary
NAME = Golden AK47
HANDLE = weapon_ak47
REFERENCE = weapon_goldenak
VIEW_MODEL = models/v_golden_ak47.mdl
PLAYER_MODEL = models/p_golden_ak47.mdl
WORLD_MODEL = models/w_golden_ak47.mdl
LEVEL = 10
FLAG =
VIP_FLAG =
DEFAULT = true

Lang file:

[en] -- Supremache
AUTO_SELECTED = Weapon [ %s ] was selected automatically!
NOT_EXIST = There's no weapons has created yet...
GET_SELECT_FIELD = Get Selection
AUTO_SELECT_FIELD = Auto Selection
ENABLE_AUTO_SELECT = ^3Enable^1 automatic purchase of weapon^4 [ %s ]
DISABLE_AUTO_SELECT = ^3Disable^1 automatic purchase of weapon^4 [ %s ]
ALVIE_ONLY = This is only available for alives
HUMAN_ONLY = This is only available for humans
ADMIN_ONLY = ADMIN ONLY
VIP_ONLY = VIP ONLY
UNAVAILABLE_LEVEL = Unlock ( Lv: %i )
UNAVAILABLE_SELECT = This is only available for &x04%s&x01.
ALREAY_SELECTED = You already have been selected a weapons.
TIMER_END = The timer menu has been end
MENU_PRIMARY_TITLE = Primary Menu:
MENU_SECONDARY_TITLE = Secondary Menu:
NOT_REGISTRED_PRIM = No primary weapons were registered
NOT_REGISTRED_SEC = No secondry weapons were registered
NOT_REGISTRED_YET = No weapons registered.
MENU_TIMER = Timer:\d
MENU_BACK = Back
MENU_NEXT = More
MENU_EXIT = Exit


Comments
The minimum comment length is 10 characters.