PedClient1 output

canPedShuffleToOrFromTurretSeat

CAN_PED_SHUFFLE_TO_OR_FROM_TURRET_SEAT0x9C6A6C19B6C0C496

The GTA V native CAN_PED_SHUFFLE_TO_OR_FROM_TURRET_SEAT of the PED namespace, as LS:MP client scripts call it: the global function canPedShuffleToOrFromTurretSeat, in JavaScript and in Lua.

SignatureJavaScript
canPedShuffleToOrFromTurretSeat(ped: Ped): [ok: boolean, p1: number]
SignatureLua
canPedShuffleToOrFromTurretSeat(ped: Ped): boolean, integer

Usage

JavaScript
const [ok, p1] = canPedShuffleToOrFromTurretSeat(ped);
Lua
local ok, p1 = canPedShuffleToOrFromTurretSeat(ped)

Parameters

ParameterTypeJavaScriptLua
pedPednumberinteger

Returns

2 values, in this order: an array in JavaScript, multiple return values in Lua.

#ValueTypeJavaScriptLuaDescription
1okBOOLbooleanbooleanThe native’s own return value.
2p1intnumberintegeroutput

Reference

Namespace
Ped PED
In the game
BOOL CAN_PED_SHUFFLE_TO_OR_FROM_TURRET_SEAT(Ped ped, int* p1)
Hash
0x9C6A6C19B6C0C496

Open in the interactive natives reference