VehicleClient

isTurretSeat

IS_TURRET_SEAT0xE33FFA906CE74880

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

SignatureJavaScript
isTurretSeat(vehicle: Vehicle, seatIndex: number): boolean
SignatureLua
isTurretSeat(vehicle: Vehicle, seatIndex: integer): boolean

Usage

JavaScript
const result = isTurretSeat(vehicle, seatIndex);
Lua
local result = isTurretSeat(vehicle, seatIndex)

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
seatIndexintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL IS_TURRET_SEAT(Vehicle vehicle, int seatIndex)
Hash
0xE33FFA906CE74880

Open in the interactive natives reference