VehicleClient

setVehicleTankStationary

SET_VEHICLE_TANK_STATIONARY0x737E398138550FFF

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

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

Usage

JavaScript
setVehicleTankStationary(vehicle, p1);
Lua
setVehicleTankStationary(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_TANK_STATIONARY(Vehicle vehicle, BOOL p1)
Hash
0x737E398138550FFF
Introduced
Game build 944 legacy numbering

Open in the interactive natives reference