Jump to content

set the clip ammo of default weapons


Xwad

Recommended Posts

Is it possible to set the maximum clip ammo of a default weapon, without setWeaponPoroperty? Just becaouse im working on a custom weapon script and i added different skins for 1 weapon. So i want to make that if a player has skin id 20 then his mp5 weapon maximum clip ammo will be 20. But if the player has skin id 30 then his weapon maximum clip ammo will be 40. Is this possible somehow? I saw a function on wiki called: getPedAmmoInClip. Is there a same function with set? Thanks !

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...