VehicleClient

isSeatWarpOnly

IS_SEAT_WARP_ONLY0xF7F203E31F96F6A1

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

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

Usage

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

Parameters

ParameterTypeJavaScriptLua
vehicleVehiclenumberinteger
seatIndexintnumberinteger

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Vehicle VEHICLE
In the game
BOOL IS_SEAT_WARP_ONLY(Vehicle vehicle, int seatIndex)
Hash
0xF7F203E31F96F6A1

Open in the interactive natives reference