ObjectClient

getHasObjectBeenCompletelyDestroyed

GET_HAS_OBJECT_BEEN_COMPLETELY_DESTROYED0x2542269291C6AC84

The GTA V native GET_HAS_OBJECT_BEEN_COMPLETELY_DESTROYED of the OBJECT namespace, as LS:MP client scripts call it: the global function getHasObjectBeenCompletelyDestroyed, in JavaScript and in Lua.

SignatureJavaScript
getHasObjectBeenCompletelyDestroyed(p0: any): boolean
SignatureLua
getHasObjectBeenCompletelyDestroyed(p0: any): boolean

Usage

JavaScript
const result = getHasObjectBeenCompletelyDestroyed(p0);
Lua
local result = getHasObjectBeenCompletelyDestroyed(p0)

Parameters

ParameterTypeJavaScriptLua
p0Anyanyany

Returns

BOOL JavaScript boolean, Lua boolean

Reference

Namespace
Object OBJECT
In the game
BOOL GET_HAS_OBJECT_BEEN_COMPLETELY_DESTROYED(Any p0)
Hash
0x2542269291C6AC84
Introduced
Game build 1180 legacy numbering

Open in the interactive natives reference