View Single Post
Author Message
8guawong
AlliedModders Donor
Join Date: Dec 2013
Location: BlackMarke7
Old 01-11-2018 , 06:51   [CSGO] Gun Menu With Currency Support
Reply With Quote #1

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
Attached Files
File Type: txt gun_menu.phrases.txt (442 Bytes, 724 views)
File Type: smx guns.smx (14.5 KB, 620 views)
File Type: sp Get Plugin or Get Source (guns.sp - 697 views - 2.7 KB)
__________________

Last edited by 8guawong; 02-27-2018 at 11:42.
8guawong is offline