Masa Posted June 18, 2013 Share Posted June 18, 2013 Hello, I have no idea how do I set my weapons ammunation to custom size, example: I want my M4 to have 30 bullets, instead of 50 - How do I do that? I'm a complete noob at scripting, and have no idea how to script 'manually'. Link to comment
DakiLLa Posted June 18, 2013 Share Posted June 18, 2013 Hi. Try to use setWeaponProperty with "maximum_clip_ammo" flag on your weapon. Link to comment
xXMADEXx Posted June 18, 2013 Share Posted June 18, 2013 setWeaponProperty ( int weaponID/string weaponName, string weaponSkill, string property, int/float theValue ) Link to comment
Masa Posted June 18, 2013 Author Share Posted June 18, 2013 Sorry for being a total noob But where do I put that? Link to comment
PaiN^ Posted June 18, 2013 Share Posted June 18, 2013 In your Lua file ( resource ) ! Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now