ResetVehicleDummyPositions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
mNo edit summary
No edit summary
Line 1: Line 1:
{{Client function}}
{{Client function}}
__NOTOC__
__NOTOC__
 
{{Added feature/item|3.0159|1.5.9|1.5.8|20797|This function resets the [[vehicle]] dependent dummy positions to the vehicle's current model dummy positions.}}
{{New feature/item|3.0159|1.5.8|20797|
This function resets the vehicle dependent dummy positions to the vehicle's current model dummy positions.}}


==Syntax==
==Syntax==
Line 12: Line 10:


===Required Arguments===  
===Required Arguments===  
*'''theVehicle:''' The [[vehicle]] to reset
*'''theVehicle:''' The [[vehicle]] to reset the dummy positions.


===Returns===
===Returns===
Returns ''true'' for success, ''false'' otherwise.
Returns ''true'' if the dummy positions have been reset, ''false'' otherwise.


==Example==
==Example==
Line 21: Line 19:


==Requirements==
==Requirements==
{{Requirements||1.5.8-9.20797|}}
{{Requirements|n/a|1.5.8-9.20797|}}


==See Also==
==See Also==
{{Client vehicle functions}}
{{Client vehicle functions}}

Revision as of 10:15, 20 September 2021

20797

Syntax

bool resetVehicleDummyPositions ( vehicle theVehicle )

OOP Syntax Help! I don't understand this!

Method: vehicle:resetDummyPositions(...)


Required Arguments

  • theVehicle: The vehicle to reset the dummy positions.

Returns

Returns true if the dummy positions have been reset, false otherwise.

Example

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

Before submitting check out Editing Guidelines Script Examples.


Requirements

This template will be deleted.

See Also