Jump to content

maximum_clip_ammo help


Xwad

Recommended Posts

Is it possible to add more maximum_clip_ammo property for a weapon? i want to make that if the player has skin id 10 then his m4 maximum_clip_ammo will be 30 and if the players has skin id 11 then the maximum_clip_ammo will be 50. is this possible? thx

Link to comment
You can't set custom weapon properties for each player.

even if I separate into a group in the ACL?

EX:

if ( isObjectInACLGroup ( "user.".. getAccountName ( account ), aclGetGroup ( "VIP" ) ) ) then 
    setWeaponProperty(23, "pro", "maximum_clip_ammo", 600) 
else 
    setWeaponProperty(23, "pro", "maximum_clip_ammo", 34) 
end 

Link to comment
You can't set custom weapon properties for each player.

even if I separate into a group in the ACL?

EX:

if ( isObjectInACLGroup ( "user.".. getAccountName ( account ), aclGetGroup ( "VIP" ) ) ) then 
    setWeaponProperty(23, "pro", "maximum_clip_ammo", 600) 
else 
    setWeaponProperty(23, "pro", "maximum_clip_ammo", 34) 
end 

This doesn't make any sense, can't you see that both would overwrite eachother?

Link to comment
  • 2 weeks later...

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...