I'm trying to create an ammo bar but how can I determine the max amount bullets in the clip (Max_Clip). I know wep:Clip1() is the current amount of bullets in the clip (Cur_Clip). The formula I want to use is:
[lua]
Ammo_Bar = (Max_Bar) / ( Max_Clip / Cur_Clip )
[/lua]
Is this strictly for HL2 weapons or custom SWEPS?
Sorry, you need to Log In to post a reply to this thread.