isTurretSeat
IS_TURRET_SEAT0xE33FFA906CE74880The 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.
isTurretSeat(vehicle: Vehicle, seatIndex: number): booleanisTurretSeat(vehicle: Vehicle, seatIndex: integer): booleanUsage
JavaScript
const result = isTurretSeat(vehicle, seatIndex);Lua
local result = isTurretSeat(vehicle, seatIndex)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
seatIndex | int | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL IS_TURRET_SEAT(Vehicle vehicle, int seatIndex)- Hash
0xE33FFA906CE74880