releaseScriptGuidFromEntity
RELEASE_SCRIPT_GUID_FROM_ENTITY0x2B3334BCA57CD799The 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.
releaseScriptGuidFromEntity(entityHit: Entity): voidreleaseScriptGuidFromEntity(entityHit: Entity)Usage
JavaScript
releaseScriptGuidFromEntity(entityHit);Lua
releaseScriptGuidFromEntity(entityHit)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
entityHit | Entity | number | integer |
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