Skip to content

Commit

Permalink
Added support for Counter-Strike buy menu addon
Browse files Browse the repository at this point in the history
  • Loading branch information
DyaMetR committed Aug 19, 2024
1 parent b140b79 commit 1a8d502
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions lua/autorun/gta3hud/add-ons/cstrikebuymenu.lua
Original file line number Diff line number Diff line change
@@ -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)

0 comments on commit 1a8d502

Please sign in to comment.