VehicleClient

setVehicleNotStealableAmbiently

SET_VEHICLE_NOT_STEALABLE_AMBIENTLY0xAB04325045427AAE

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

SignatureJavaScript
setVehicleNotStealableAmbiently(vehicle: Vehicle, p1: boolean): void
SignatureLua
setVehicleNotStealableAmbiently(vehicle: Vehicle, p1: boolean)

Usage

JavaScript
setVehicleNotStealableAmbiently(vehicle, p1);
Lua
setVehicleNotStealableAmbiently(vehicle, p1)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
p1BOOLbooleanboolean

Returns

Nothing. In JavaScript the call evaluates to undefined.

Reference

Namespace
Vehicle VEHICLE
In the game
void SET_VEHICLE_NOT_STEALABLE_AMBIENTLY(Vehicle vehicle, BOOL p1)
Hash
0xAB04325045427AAE

Open in the interactive natives reference