EntityClient8 outputs

getEntityProofs

GET_ENTITY_PROOFS0xBE8CD9BE829BBEBF

The 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.

SignatureJavaScript
getEntityProofs(entity: Entity): [
  ok: boolean,
  bulletProof: boolean,
  fireProof: boolean,
  explosionProof: boolean,
  collisionProof: boolean,
  meleeProof: boolean,
  steamProof: boolean,
  p7: boolean,
  drownProof: boolean
]
SignatureLua
getEntityProofs(
  entity: Entity
): boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean

Usage

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

ParameterTypeJavaScriptLua
entityEntitynumberinteger

Returns

9 values, in this order: an array in JavaScript, multiple return values in Lua.

#ValueTypeJavaScriptLuaDescription
1okBOOLbooleanbooleanThe native’s own return value.
2bulletProofBOOLbooleanbooleanoutput
3fireProofBOOLbooleanbooleanoutput
4explosionProofBOOLbooleanbooleanoutput
5collisionProofBOOLbooleanbooleanoutput
6meleeProofBOOLbooleanbooleanoutput
7steamProofBOOLbooleanbooleanoutput
8p7BOOLbooleanbooleanoutput
9drownProofBOOLbooleanbooleanoutput

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

Open in the interactive natives reference