GetVehicleSirenParams

From Multi Theft Auto: Wiki
Revision as of 18:46, 2 April 2012 by Arran Fortuna (talk | contribs) (Created page with "{{New feature/item|4.0120|1.4|3964| __NOTOC__ {{Server client function}} This function get the parameters of a vehicles siren. ==Syntax== <syntaxhighlight lang="lua"> getVehicleSirenParams ( ...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search
ADDED/UPDATED IN VERSION 1.4 r3964:

This function get the parameters of a vehicles siren.

Syntax

getVehicleSirenParams ( vehicle theVehicle )

Required Arguments

  • theVehicle: The vehicle to get the siren parameters of

Returns

Returns a table with the siren count, siren type and a sub table for the four flags. False otherwise.

sirenParams = { sirenCount, sirenType, { is360, doLOSCheck, useRandomiser, silent } }

Example

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

Before submitting check out Editing Guidelines Script Examples.
-- TODO

Requirements

Minimum server version This function has not yet been merged
Minimum client version n/a

Note: Using this feature requires the resource to have the above minimum version declared in the meta.xml <min_mta_version> section. e.g. <min_mta_version server="This function has not yet been merged" />

See Also