it’s qbcore. i dont know the source code. maybe qb-weapons? idk i just know that in game i can type /setammo amount and then weapon name and it is supposed to set the ammo ammount that the gun can use at one time before being automatically put away.