Hello i have an error when i try spawn a weapon over 250 ammo for example i do giveweapon 1 weapon_pistol 9999
and it spawns with 250 ammo only how can i fix that
1 Like
check this post out let me know if it helps
no sadly it didnt help
Hello @AceTeam22,
To override the maximum amount of ammunition a weapon can hold, just utilise the following native:
StatSetInt(GetHashKey("MP0_SHOOTING_ABILITY"), 100, true);
This native will increase the player’s shooting ability statistic which in return will allow the player to hold more ammunition.
and were should i put this
Use it client-side, for example: above the code which gives the player a weapon.