ResetWeaponFiringRate

From Multi Theft Auto: Wiki
Revision as of 16:49, 23 December 2014 by AlexTMjugador (talk | contribs) (Added OOP syntax and Needs Example template)
Jump to navigation Jump to search

Accessories-text-editor.png Script Example Missing Function ResetWeaponFiringRate needs a script example, help out by writing one.

Before submitting check out Editing Guidelines Script Examples.

This function resets the firing rate of a custom weapon to the default one.

Syntax

bool resetWeaponFiringRate ( weapon theWeapon )

OOP Syntax Help! I don't understand this!

Method: weapon:resetFiringRate(...)


Required Arguments

  • theWeapon: the weapon to reset the firing rate of.

Returns

Returns true on success, false otherwise.

Requirements

This template will be deleted.

See also