isEntityAttachedToHandlerFrame
IS_ENTITY_ATTACHED_TO_HANDLER_FRAME0x57715966069157ADThe GTA V native IS_ENTITY_ATTACHED_TO_HANDLER_FRAME of the VEHICLE namespace, as LS:MP client scripts call it: the global function isEntityAttachedToHandlerFrame, in JavaScript and in Lua.
isEntityAttachedToHandlerFrame(vehicle: Vehicle, entity: Entity): booleanisEntityAttachedToHandlerFrame(vehicle: Vehicle, entity: Entity): booleanUsage
JavaScript
const result = isEntityAttachedToHandlerFrame(vehicle, entity);Lua
local result = isEntityAttachedToHandlerFrame(vehicle, entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
vehicle | Vehicle | number | integer |
entity | Entity | number | integer |
Returns
BOOL JavaScript boolean, Lua booleanReference
- Namespace
- Vehicle VEHICLE
- In the game
BOOL IS_ENTITY_ATTACHED_TO_HANDLER_FRAME(Vehicle vehicle, Entity entity)- Hash
0x57715966069157AD- Formerly
SET_PED_ENABLED_BIKE_RINGTONE_IS_VEHICLE_NEAR_ENTITY