Posts: 882
Threads: 176
Joined: Aug 2011
Reputation:
0
Self explanatory title. Is there an easy trick to do such a thing?
Example: Player crafts a 9mm with 0 ammo. Weapon is unusable, but still in inventory.
Posts: 34
Threads: 1
Joined: Sep 2015
Reputation:
0
Sorry not quite understand, do not disappear or not finish the ammo of your hand? GivePlayerWeapon(playerid, ID, 99999); :-/ ??
@EDIT
ok ok hmm, 'l think it is not possible..
Posts: 882
Threads: 176
Joined: Aug 2011
Reputation:
0
There's no other way around it?
Posts: 694
Threads: 2
Joined: Oct 2012
Reputation:
0
You should save it on a variable, it's not possible to keep it in the weapon reel, unless maybe you save a variable as soon as he fires his gun with 1 ammo, make it like WeaponDisabled[playerid][weaponid]=1, and check if thats 1, you play idle stance animation to cancel his shot nexttime
Posts: 626
Threads: 46
Joined: Oct 2014
Reputation:
0
How much i knew that weapon is disappear when you have 0 bullets this is how it works in SAMP. But i am not confirmed that is there any way that we can save that weapon in inventory. As if ur weapon is 0 bullet then it would be auto hide.but as i said as much i knew the gun would be disappear.
Posts: 171
Threads: 33
Joined: Sep 2015
Reputation:
0
in my cod gm inventory disapear,,
but in my zombie gm,inventory not disapear,,even at 0 ammo
Posts: 80
Threads: 15
Joined: Jul 2011
Reputation:
0
You should use Attached object