getEntityProofs
GET_ENTITY_PROOFS0xBE8CD9BE829BBEBFThe GTA V native GET_ENTITY_PROOFS of the ENTITY namespace, as LS:MP client scripts call it: the global function getEntityProofs, in JavaScript and in Lua.
getEntityProofs(entity: Entity): [
ok: boolean,
bulletProof: boolean,
fireProof: boolean,
explosionProof: boolean,
collisionProof: boolean,
meleeProof: boolean,
steamProof: boolean,
p7: boolean,
drownProof: boolean
]getEntityProofs(
entity: Entity
): boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, booleanUsage
JavaScript
const [ok, bulletProof, fireProof, explosionProof, collisionProof, meleeProof, steamProof, p7, drownProof] =
getEntityProofs(entity);Lua
local ok, bulletProof, fireProof, explosionProof, collisionProof, meleeProof, steamProof, p7, drownProof =
getEntityProofs(entity)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entity | Entity | number | integer |
Returns
9 values, in this order: an array in JavaScript, multiple return values in Lua.
| # | Value | Type | JavaScript | Lua | Description |
|---|---|---|---|---|---|
| 1 | ok | BOOL | boolean | boolean | The native’s own return value. |
| 2 | bulletProof | BOOL | boolean | boolean | output |
| 3 | fireProof | BOOL | boolean | boolean | output |
| 4 | explosionProof | BOOL | boolean | boolean | output |
| 5 | collisionProof | BOOL | boolean | boolean | output |
| 6 | meleeProof | BOOL | boolean | boolean | output |
| 7 | steamProof | BOOL | boolean | boolean | output |
| 8 | p7 | BOOL | boolean | boolean | output |
| 9 | drownProof | BOOL | boolean | boolean | output |
Reference
- Namespace
- Entity ENTITY
- In the game
BOOL GET_ENTITY_PROOFS(Entity entity, BOOL* bulletProof, BOOL* fireProof, BOOL* explosionProof, BOOL* collisionProof, BOOL* meleeProof, BOOL* steamProof, BOOL* p7, BOOL* drownProof)- Hash
0xBE8CD9BE829BBEBF- Introduced
- Game build 1604 legacy numbering
- Formerly
_GET_ENTITY_PROOFS