GetVehicleSirenParams: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
mNo edit summary
Line 24: Line 24:


==Requirements==
==Requirements==
{{Requirements|1.4-3966|n/a|}}
{{Requirements|1.4-3966|1.4-3966|}}


==See Also==
==See Also==
{{Vehicle_functions}}
{{Vehicle_functions}}
[[Category:Needs_Example]]
[[Category:Needs_Example]]

Revision as of 18:52, 2 April 2012

ADDED/UPDATED IN VERSION 1.4 r3966:

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 1.4-3966
Minimum client version 1.4-3966

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="1.4-3966" client="1.4-3966" />

See Also