From RAGE Multiplayer Wiki
Revision as of 14:04, 14 January 2019 by BigJay (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Sets a vehicle on the ground on all wheels. Returns whether or not the operation was successful.

sfink: This has an additional param(Vehicle vehicle, float p1) which is always set to 5.0f in the b944 scripts.



Required Arguments

Return value

  • Boolean

Example'setVehiclePosition', (x, y, z, a, b, c) => {
    mp.players.local.vehicle.position = new mp.Vector3(x, y, z);
    mp.players.local.vehicle.rotation = new mp.Vector3(a, b, c);

See also