SetJetpackWeaponEnabled: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
|||
Line 14: | Line 14: | ||
==Example== | ==Example== | ||
{{Example}} | |||
==Requirements== | ==Requirements== | ||
{{Requirements|1.3.1|n/a|}} | {{Requirements|1.3.1|n/a|}} | ||
==See Also== | ==See Also== | ||
{{World_functions}} | {{World_functions}} |
Revision as of 18:56, 18 July 2012
This function sets a weapon usable while using the Jetpack.
Syntax
bool setJetpackWeaponEnabled(string weapon, bool enabled)
Required Arguments
- weapon The weapon that's being set usable on a Jetpack.
- enabled A bool representing whether the weapon is enabled or disabled.
Returns
Returns true, else false if invalid arguments are passed.
Example
Script Example Missing Function SetJetpackWeaponEnabled needs a script example, help out by writing one. | |
Before submitting check out Editing Guidelines Script Examples. |
-- TODO
Requirements
This template will be deleted.
See Also
- areTrafficLightsLocked
- getAircraftMaxHeight
- getAircraftMaxVelocity
- getCloudsEnabled
- getFarClipDistance
- getFogDistance
- getGameSpeed
- getGravity
- getHeatHaze
- getInteriorSoundsEnabled
- getJetpackMaxHeight
- getMinuteDuration
- getMoonSize
- getOcclusionsEnabled
- getRainLevel
- getSunColor
- getSunSize
- getTime
- getTrafficLightState
- getWeather
- getWindVelocity
- getSkyGradient
- getPlayerBlurLevel
- getZoneName
- isGarageOpen
- removeWorldModel
- resetFarClipDistance
- resetFogDistance
- resetHeatHaze
- resetMoonSize
- resetRainLevel
- resetSkyGradient
- resetSunColor
- resetSunSize
- resetWindVelocity
- restoreAllWorldModels
- restoreWorldModel
- setAircraftMaxHeight
- setAircraftMaxVelocity
- setCloudsEnabled
- setFarClipDistance
- setFogDistance
- setGameSpeed
- setGarageOpen
- setGravity
- setHeatHaze
- setInteriorSoundsEnabled
- setMinuteDuration
- setMoonSize
- setOcclusionsEnabled
- setRainLevel
- setSkyGradient
- setSunColor
- setSunSize
- setTime
- setTrafficLightState
- setTrafficLightsLocked
- setWeather
- setWeatherBlended
- setWindVelocity
- setJetpackMaxHeight
- setPlayerBlurLevel