Native referenceRedM

_IS_PED_ON_TRANSPORT_ENTITY

0x159EF5B6EDCE00E8 AITRANSPORT
FUNCTION SIGNATURE
BOOL _IS_PED_ON_TRANSPORT_ENTITY(`ped` (Ped), `transportEntity` (Entity));

Description: Checks if ped is placed on target transportEntity

Property Value
Native Name _IS_PED_ON_TRANSPORT_ENTITY
Hash 0x159EF5B6EDCE00E8
Return Type BOOL
Build 1207
Parameters ped (Ped), transportEntity (Entity)

Parameters

  • ped (Ped)
  • transportEntity (Entity)

Usage

Lua (Direct):

local result = IsPedOnTransportEntity(ped, transportEntity)

Lua (Hash):

local result = Citizen.InvokeNative(0x159EF5B6EDCE00E8, ped, transportEntity)

Back to AITRANSPORT