ENTITY

SET_ENTITY_LOAD_COLLISION_FLAG

0x0DC7CABAB1E9B67E Jenkins: 0xC52F295B

Signature

// ENTITY
void SET_ENTITY_LOAD_COLLISION_FLAG(Entity entity, BOOL toggle, Any p2)

Parameters

Type Name
Entity entity
BOOL toggle
Any p2

Return type void

Build 323

Documentation

Loads collision grid for an entity spawned outside of a player's loaded area. This allows peds to execute tasks rather than sit dormant because of a lack of a physics grid. Certainly not the main usage of this native but when set to true for a Vehicle, it will prevent the vehicle to explode if it is spawned far away from the player.

APPI RP

Join us on FiveM

Semi-Serious GTA V roleplay on APPI RolePlay — hop into Discord for rules and onboarding, then follow the guide when you're ready to connect.