VehicleClient

setBikeEasyToLand

SET_BIKE_EASY_TO_LAND0x73561D4425A021A2

The GTA V native SET_BIKE_EASY_TO_LAND of the VEHICLE namespace, as LS:MP client scripts call it: the global function setBikeEasyToLand, in JavaScript and in Lua.

SignatureJavaScript
setBikeEasyToLand(vehicle: Vehicle, toggle: boolean): void
SignatureLua
setBikeEasyToLand(vehicle: Vehicle, toggle: boolean)

Usage

JavaScript
setBikeEasyToLand(vehicle, toggle);
Lua
setBikeEasyToLand(vehicle, toggle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
toggleBOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

When enabled, the player won't fall off the bike when landing from large heights.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_BIKE_EASY_TO_LAND(Vehicle vehicle, BOOL toggle)
Hash
0x73561D4425A021A2
Introduced
Game build 791 legacy numbering

Open in the interactive natives reference