GetVehicleRespawnRotation

From Multi Theft Auto: Wiki
Revision as of 14:33, 29 August 2018 by Myonlake (talk | contribs) (Created page with "{{Server function}} __NOTOC__ {{New feature/item|3.0156|1.5.5|14053|This function retrieves the respawn rotation of a vehicle.}} ==Syntax== <syntaxhighlight lang="lua"> f...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

This function retrieves the respawn rotation of a vehicle.

Syntax

float, float, float getVehicleRespawnRotation ( element theVehicle )

OOP Syntax Help! I don't understand this!

Method: vehicle:getRespawnRotation(...)
Variable: .respawnRotation


Required Arguments

  • theVehicle: The vehicle which you'd like to retrieve the respawn rotation of.

Returns

Returns three floats indicating the respawn rotation of the vehicle, x, y and z respectively.

Example

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

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


See Also