Masa Posted June 20, 2013 Share Posted June 20, 2013 Hey, where do I put the SYNTAX: snippets? I've been wondering it. For example: bool setWeaponFiringRate ( weapon theWeapon, int firingRate ) Where do I put that? Please state it clearly. Link to comment
Castillo Posted June 20, 2013 Share Posted June 20, 2013 what do you mean by "where do I put that"? that's a function to be used on a script. Link to comment
Masa Posted June 20, 2013 Author Share Posted June 20, 2013 I mean, when I see things like that, I don't know where to place them at the .lua script. Link to comment
Castillo Posted June 20, 2013 Share Posted June 20, 2013 Well, they are meant to be used when you require them for whatever you are trying to achieve. Link to comment
Masa Posted June 20, 2013 Author Share Posted June 20, 2013 I'm editing the freeroam script, but I don't know where to put that in. Link to comment
Castillo Posted June 20, 2013 Share Posted June 20, 2013 Editing it for what? that function is used to set the firing rate of a weapon created by createWeapon function. Link to comment
Masa Posted June 20, 2013 Author Share Posted June 20, 2013 Well, I want my MP5 to fire double of the original speed, but I don't know how to do it, and I was planning to make it shoot faster with that, and that's where to problem occured. Help me, please. Link to comment
Castillo Posted June 20, 2013 Share Posted June 20, 2013 That function is not for that. You must use setWeaponProperty Link to comment
bandi94 Posted June 20, 2013 Share Posted June 20, 2013 there is a "firing_speed" but it's say's that is "Get only" Value. Maybe there is another property that can do that idk. 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