PDA

View Full Version : Extended Weapon Menu


mforce
02-29-2016, 04:02
Extended Weapon Menu
v1.4 by mforce

Description:
Simple easy modifiable weapon menu.
It's support AWP limit, Pistolmenu or automatic deagle, number of grenades.
Added buyzone and money hud blocking.
Buy allowed one time per spawn.


Commands:
In say or say_team:
/weap or /guns or /gun - Open the weapon menu if you don't choose the weapon after spawn.


Configuration:
Prefix modifiable in the .sma file:
new const PREFIX[] = "EWM"

Weapons and pistols are modifiable in the "ewm_weapons.ini" file.

; Weapon name and bpammo

[weapons]
m4a1 90
ak47 90
awp 30
m249 200
aug 90
famas 90
galil 90
mp5navy 120
xm1014 32
m3 32
scout 90
p90 100
tmp 120
ump45 100
mac10 100

[pistols]
glock18 120
usp 100
deagle 35
fiveseven 100
p228 52
elite 120



Cvars:
0 is disable default.
1 is enable default.
ewm_awpminplayers Default: 4 - How many players per team to allow AWP.
ewm_maxawp Default: 3 - Max AWPs per team.
ewm_pistolmenu Default: 0 - Use pistol menu or use 0 - disable to default Deagle.
ewm_maxheg Default: 1 - Number of He grenades.
ewm_maxflash Default: 2 - Number of Flash grenades.
ewm_maxsmoke Default: 1 - Number of Smoke grenades.

Languages:
[hu] - mforce
[en] - mforce
[ru] - gudaus
- addons_zz (https://forums.alliedmods.net/member.php?u=262504)
[ro] - iNdio (https://forums.alliedmods.net/member.php?u=259683)
[it] - iNdio (https://forums.alliedmods.net/member.php?u=259683)
[sr] - SkazzY (https://forums.alliedmods.net/member.php?u=255101)
[ua] - Borzalex


[B]Changes:
v1.1 - Multilang added, strip_user_weapons fixed, "hardcoded" things fixed, unnecessary cvar removed, using Safety1st method for money block, ColorChat included.
v1.2 - AMXX 1.8.3 support fixed, minimal improvements (less cvar hook)
v1.21 - Multilang fix.
v1.3 - Plugin pause removed. Added files for modify weapon menu items.
v1.4 - Added give and drop by Safety1st, menu builds by Vaqtincha's plugin.

isotonic
03-03-2016, 11:10
Nice & well-coded plugin!

mforce
06-21-2016, 15:14
Plugin reworked.

Updated:
(in the first post)
v1.3 - Plugin pause removed. Added files for modify weapon menu items.
v1.4 - Added give and drop by Safety1st, menu builds by Vaqtincha's plugin.

Ricky
05-28-2017, 08:22
Nice plugin! Would be cool to add a random weapons loadout option as well.

Kempa
02-18-2019, 08:19
can someone help me to make a secondary menu appear in the first round after the restart, and then the primary menu after 3 rounds?

LampdaC0RE
07-10-2022, 10:38
Nice BRO