RemoveVehicleSirens: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{New feature/item|4.0120|1.4|3966|
__NOTOC__
__NOTOC__
{{Server function}}
{{Server function}}
{{New feature/item|4.0140|1.4|3966|
This function removes sirens from a vehicle.
This function removes sirens from a vehicle.
}}


==Syntax==  
==Syntax==  
<syntaxhighlight lang="lua">
<syntaxhighlight lang="lua">
removeVehicleSirens ( vehicle theVehicle )
bool removeVehicleSirens ( vehicle theVehicle )
</syntaxhighlight>  
</syntaxhighlight>  


Line 17: Line 18:
==Example==
==Example==
{{Example}}
{{Example}}
}}


==Requirements==
==Requirements==

Revision as of 20:28, 2 April 2012

ADDED/UPDATED IN VERSION 1.4 r3966:

This function removes sirens from a vehicle.

Syntax

bool removeVehicleSirens ( vehicle theVehicle )

Required Arguments

  • theVehicle: The vehicle to remove the sirens of

Returns

Returns true if sirens were successfully removed from the vehicle, false otherwise.

Example

Accessories-text-editor.png Script Example Missing Function RemoveVehicleSirens 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 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="1.4-3966" />

See Also