Masa Posted June 20, 2013 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.
Castillo Posted June 20, 2013 Posted June 20, 2013 what do you mean by "where do I put that"? that's a function to be used on a script.
Masa Posted June 20, 2013 Author Posted June 20, 2013 I mean, when I see things like that, I don't know where to place them at the .lua script.
Castillo Posted June 20, 2013 Posted June 20, 2013 Well, they are meant to be used when you require them for whatever you are trying to achieve.
Masa Posted June 20, 2013 Author Posted June 20, 2013 I'm editing the freeroam script, but I don't know where to put that in.
Castillo Posted June 20, 2013 Posted June 20, 2013 Editing it for what? that function is used to set the firing rate of a weapon created by createWeapon function.
Masa Posted June 20, 2013 Author 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.
Castillo Posted June 20, 2013 Posted June 20, 2013 That function is not for that. You must use setWeaponProperty
bandi94 Posted June 20, 2013 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.
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