Mike's Cops and Robbers

Community => Bug Reports => Confirmed Bugs => Topic started by: BABLU_07 on July 29, 2022, 06:31:17 pm

Title: the ammo resets if you buy ammo more than 32500*
Post by: BABLU_07 on July 29, 2022, 06:31:17 pm
BABLU_07

if you buy any ammo more than 32500* it resets to 0
it is replicable any no of times
I buy the ammo from the cop shop and checked the amount of ammo by using the command (/dw , /drop weapon) in the game terminal


*(not the exact value)
Title: Re: the ammo resets if you buy ammo more than 32500*
Post by: Mike on August 01, 2022, 07:46:02 pm
I believe it is 32,768, which is the maximum number that can be represented in a signed 16-bit integer, which Rockstar uses to store ammo.

I will make it so players can't buy more ammo than this, or possibly even 10,000 (because even carrying that much is just plain silly..).