Game codeUnofficial name
ENTITY::_GET_ENTITY_CAN_BE_DAMAGED
0x0D0FFA028A20618C ·RVA 0x03C09B60
Signature
BOOL _GET_ENTITY_CAN_BE_DAMAGED(Ped p0);
The scripts pass 2 values to this native; the decoded signature lists 1 (arguments the game doesn't read are left out).
Parameters 1
| # | Type | Name | Notes |
|---|---|---|---|
| 0 | Ped | p0 |
the game uses it as an entity handle, and the scripts pass Ped values. |
Returns
BOOL
the game returns one byte.
Call it
// ENTITY::_GET_ENTITY_CAN_BE_DAMAGED
auto result = invoke<BOOL>(0x0D0FFA028A20618C, p0);// ENTITY::_GET_ENTITY_CAN_BE_DAMAGED
bool result = Function.Call<bool>((Hash)0x0D0FFA028A20618C, p0);-- ENTITY::_GET_ENTITY_CAN_BE_DAMAGED
local result = Citizen.InvokeNative(0x0D0FFA028A20618C, p0)// ENTITY::_GET_ENTITY_CAN_BE_DAMAGED
const result = Citizen.invokeNative("0x0D0FFA028A20618C", p0);Generic call-by-hash templates in the style of the common GTA V / RDR2 script frameworks. Adapt the types to your tooling.
Improve this page
Know what this native does, a better name, or the real parameter types? Suggest an edit. A moderator reviews every suggestion, and approved edits credit you here.