VehicleClient

setVehicleUsesLargeRearRamp

SET_VEHICLE_USES_LARGE_REAR_RAMP0xCAC66558B944DA67

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

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

Usage

JavaScript
setVehicleUsesLargeRearRamp(vehicle, toggle);
Lua
setVehicleUsesLargeRearRamp(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.

vehicle must be a plane

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_VEHICLE_USES_LARGE_REAR_RAMP(Vehicle vehicle, BOOL toggle)
Hash
0xCAC66558B944DA67

Open in the interactive natives reference