_GET_COLLISION_INTENSITY
Returns the intensity of the last collision of the entity.
Signature
float _GET_COLLISION_INTENSITY(Entity entity); // 0x6D58167F62238284 b1207Parameters
| # | Name | Type |
|---|---|---|
| 1 | entity | Entity |
Facts
| Name | _GET_COLLISION_INTENSITY |
|---|---|
| Hash | 0x6D58167F62238284 |
| Namespace | |
| Returns | float |
| Game build | 1207 |
Examples
Calls by hash work in every RedM runtime. Replace the placeholder arguments with your own values.
local result = Citizen.InvokeNative(0x6D58167F62238284, -- _GET_COLLISION_INTENSITY
PlayerPedId(), -- Entity entity
Citizen.ResultAsFloat()
)
print(result)const result = Citizen.invokeNative("0x6D58167F62238284", // _GET_COLLISION_INTENSITY
PlayerPedId(), // Entity entity
Citizen.resultAsFloat()
);
console.log(result)float result = Function.Call<float>((Hash)0x6D58167F62238284, // _GET_COLLISION_INTENSITY
API.PlayerPedId() // Entity entity
);Related ENTITY natives
- _GET_ENTITY_COLLISION_INTENSITY
- GET_ENTITY_COLLISION_DISABLED
- _GET_CARCASS_FROM_PELT
- _GET_CARRIABLE_FROM_ENTITY
- _GET_ENTITIES_IN_VOLUME
- _GET_ENTITIES_NEAR_POINT
- _GET_ENTITY_ALBEDO
- _GET_ENTITY_ANIM_CURRENT_TIME
- _GET_ENTITY_BY_DOORHASH
- _GET_ENTITY_CAN_BE_DAMAGED
- _GET_ENTITY_CARRY_CONFIG
- _GET_ENTITY_CARRYING_FLAG
Facts compiled from community research (alloc8or/rdr3-nativedb-data, femga/rdr3_discoveries); descriptions and examples by The Lab.