releaseScriptGuidFromEntity

RELEASE_SCRIPT_GUID_FROM_ENTITY0x2B3334BCA57CD799

The GTA V native RELEASE_SCRIPT_GUID_FROM_ENTITY of the SHAPETEST namespace, as LS:MP client scripts call it: the global function releaseScriptGuidFromEntity, in JavaScript and in Lua.

SignatureJavaScript
releaseScriptGuidFromEntity(entityHit: Entity): void
SignatureLua
releaseScriptGuidFromEntity(entityHit: Entity)

Usage

JavaScript
releaseScriptGuidFromEntity(entityHit);
Lua
releaseScriptGuidFromEntity(entityHit)

Parameters

ParameterTypeJavaScriptLua
entityHitEntitynumberinteger

Returns

Nothing. In JavaScript the call evaluates to undefined.

Notes

From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.

This should be used when receiving an ambient entity from shape testing natives, but can also be used for other natives returning an 'irrelevant' entity handle.

Reference

Namespace
Shape tests SHAPETEST
In the game
void RELEASE_SCRIPT_GUID_FROM_ENTITY(Entity entityHit)
Hash
0x2B3334BCA57CD799
Formerly
_SHAPE_TEST_RESULT_ENTITY

Open in the interactive natives reference