VehicleClient

setTrailerLegsRaised

SET_TRAILER_LEGS_RAISED0x95CF53B3D687F9FA

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

SignatureJavaScript
setTrailerLegsRaised(vehicle: Vehicle): void
SignatureLua
setTrailerLegsRaised(vehicle: Vehicle)

Usage

JavaScript
setTrailerLegsRaised(vehicle);
Lua
setTrailerLegsRaised(vehicle)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger

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.

in the decompiled scripts, seems to be always called on the vehicle right after being attached to a trailer.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_TRAILER_LEGS_RAISED(Vehicle vehicle)
Hash
0x95CF53B3D687F9FA

Open in the interactive natives reference