VehicleClient

setCanResprayVehicle

SET_CAN_RESPRAY_VEHICLE0x52BBA29D5EC69356

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

SignatureJavaScript
setCanResprayVehicle(vehicle: Vehicle, state: boolean): void
SignatureLua
setCanResprayVehicle(vehicle: Vehicle, state: boolean)

Usage

JavaScript
setCanResprayVehicle(vehicle, state);
Lua
setCanResprayVehicle(vehicle, state)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
stateBOOLbooleanboolean

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.

Hardcoded to not work in multiplayer.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_CAN_RESPRAY_VEHICLE(Vehicle vehicle, BOOL state)
Hash
0x52BBA29D5EC69356

Open in the interactive natives reference