diff --git a/lua/autorun/gta3hud/add-ons/cstrikebuymenu.lua b/lua/autorun/gta3hud/add-ons/cstrikebuymenu.lua new file mode 100644 index 0000000..8be9cdb --- /dev/null +++ b/lua/autorun/gta3hud/add-ons/cstrikebuymenu.lua @@ -0,0 +1,10 @@ +--[[------------------------------------------------------------------ + Support for Goldsrc Counter-Strike Buymenu. + https://steamcommunity.com/sharedfiles/filedetails/?id=3311934020 +]]-------------------------------------------------------------------- + +hook.Add('GTA3HUD_GetMoney', 'cstrikebuymenu', function() + local money = LocalPlayer():GetNW2Int('cstrike_money', -1) + if money == -1 then return end + return money +end) \ No newline at end of file