Native referenceRedM

_GET_COLLISION_INTENSITY

0x6D58167F62238284 ENTITY
FUNCTION SIGNATURE
float _GET_COLLISION_INTENSITY(Vehicle vehicle);
Property Value
Native Name _GET_COLLISION_INTENSITY
Hash 0x6D58167F62238284
Return Type float
Build 1207
Parameters vehicle (Vehicle)

Description: Returns the collision intensity currently registered on the specified entity. Used after HAS_ENTITY_COLLIDED_WITH_ANYTHING to measure how strong the impact was. Higher values indicate a stronger collision/impact

Usage

Lua (Direct):

local result = GetCollisionIntensity(vehicle)

Lua (Hash):

local result = Citizen.InvokeNative(0x6D58167F62238284, vehicle)
Back to ENTITY