Been seeing people asking for gun menu with currency support
Instead of reinventing the wheel, here is a version that uses the weapon market (
https://forums.alliedmods.net/showthread.php?p=1786148) plugin
Requirement:
Weapon Market (to compile & run):
https://forums.alliedmods.net/showthread.php?p=1786148
Multi Colors (to compile):
https://forums.alliedmods.net/showthread.php?t=247770
Command:
!guns / sm_guns
shows the gun menu
Cvars:- sm_guns_team (1 - for any team, 2 - for t, 3 - for ct) [Default 1]
- sm_guns_buyzone (1 - for buying in buyzone only, 0 - for buying anywhere) [Default 1]
- sm_guns_buytime (1 - obey mp_buytime, 0 - ignore mp_buytime) [Default 1]
changelog
*1.0 initial release
*1.0.1 added sm_guns_buyzone cvar
*1.0.2 fix not giving weapon
*1.0.3 added messages with translation
*1.0.4 added sm_guns_buytime cvar
*1.0.5 disable giving weapon if player is outside of buyzone and obey mp_buytime