ResetVehicleDummyPositions: Difference between revisions

From Multi Theft Auto: Wiki
Jump to navigation Jump to search
(Fixed wrong related functions)
(Remove obsolete Requirements section)
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Client function}}
{{Client function}}
__NOTOC__
__NOTOC__
 
{{Added feature/item|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.0160|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==
{{Needs Example}}
{{Needs Example}}
==Requirements==
{{Requirements||1.5.8-9.20797|}}


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

Latest revision as of 17:26, 7 November 2024

This function resets the vehicle dependent dummy positions to the vehicle's current model dummy positions.

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.


See Also