Modding Tools > Lucas' Simpsons Hit & Run Mod Launcher > Hacks > Mod Requirable Hacks > Additional Script Functionality > CON Commands > SetWheelieOffsetX

SetWheelieOffsetX

This command sets the X offset of the vehicle's center of mass when performing a wheelie. In order to perform a wheelie, the vehicle must be stopped or nearly stopped.

Syntax

SetWheelieOffsetX( offset );

Game.SetWheelieOffsetX( offset )

  • offset: Sets the X offset of the vehicle's center of mass when performing a wheelie. Positive numbers are right, negative are left.

Examples

SetWheelieOffsetX(0.2);

Game.SetWheelieOffsetX(0.2)

Notes

See SetWheelieOffsetY and SetWheelieOffsetZ to set offsets for the other two axes.

History

1.26

Added this command.

Donut Team © 2024 · v4.0