i made a tmp and worked but i tried to make a golden gun and silenced rifle and get this error
this is from rifle:
[terrortown\gamemode\cl_hud.lua:93] attempt to call method 'Ammo1' (a nil value)(Hook: HUDPaint)
[weapons\weapon_ttt_silencedsniper\shared.lua:120] attempt to call method 'GetIronsights' (a nil value)
and this is from golden gun:
[terrortown\gamemode\cl_wepswitch.lua:101] attempt to call method 'Ammo1' (a nil value)(Hook: HUDPaint)
[terrortown\gamemode\cl_hud.lua:93] attempt to call method 'Ammo1' (a nil value)(Hook: HUDPaint)
how can i fix this?