SetJetpackWeaponEnabled

From Multi Theft Auto: Wiki
Jump to navigation Jump to search

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

Accessories-text-editor.png 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