Ammo Bug
#1

So I currently have a new system for my server, instead of using the default slots and let a player hold a lot of weapons, I limited it to 3, Melee, Primary and Secondary, when I use /dropgun and throw the gun down and I have 2 Guns, let's say Deagle and M4A1, once I drop one of them I can't switch to the gun because it has a negative ammo value, once I pick up a gun and it fills up my empty slot then everything works fine.
Reply
#2

Show us the code?
Reply
#3

Oh, I feel so dumb right now, I was using a stock on the response of the command and plus the RemovePlayerWeapon, I just removed it and tested it In-Game, everything works funny, it seems that the problem was the RemovePlayerWeapon which I forget to remove. Sorry about making this post, I was trying to make this system for hours and I was annoyed a lot already.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)