Masa Posted June 18, 2013 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'.
DakiLLa Posted June 18, 2013 Posted June 18, 2013 Hi. Try to use setWeaponProperty with "maximum_clip_ammo" flag on your weapon.
xXMADEXx Posted June 18, 2013 Posted June 18, 2013 setWeaponProperty ( int weaponID/string weaponName, string weaponSkill, string property, int/float theValue ) The Ultimate Lua Tutorial! | MTA PHP SDK
Masa Posted June 18, 2013 Author Posted June 18, 2013 Sorry for being a total noob But where do I put that?
PaiN^ Posted June 18, 2013 Posted June 18, 2013 In your Lua file ( resource ) ! " Keep Thinking Different . " - Steve Jops -------------------- Don't send me PMs asking for help, I Won't reply !
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