Posts: 1,072
Threads: 168
Joined: Aug 2012
Reputation:
0
Like my title say, is it possible to make a cmd like /givegun and it will only give the gun, no ammo so you will get for example deagle but with 0 ammo.
Is this possible or will the weapon dissapear since it's out of ammo?
Posts: 1,072
Threads: 168
Joined: Aug 2012
Reputation:
0
Well there it said right away that setting the ammo to 0 will remove the weapon..
But is there someone who made an include/plugin or something like that to make this work?
Posts: 864
Threads: 57
Joined: Jan 2013
Reputation:
0
Why being so crazy in your ideas ? (giving an empty model for example)
Just give a deagle with 1 ammo, put a variable on the player and then check under OnPlayerWeaponShot if the weaponid is deagle and if the player has the variable. If so, then just give one ammo back and if someone/thing was hit, refill the health.
Posts: 1,661
Threads: 47
Joined: May 2013
Reputation:
0
Or you can just apply a reloading animation every time LMB/RMB is clicked when having a weapon equipped, no need to complicate things.