getBaseElementLocationFromMetadataBlock
GET_BASE_ELEMENT_LOCATION_FROM_METADATA_BLOCK0xB335F761606DB47CThe GTA V native GET_BASE_ELEMENT_LOCATION_FROM_METADATA_BLOCK of the MISC namespace, as LS:MP client scripts call it: the global function getBaseElementLocationFromMetadataBlock, in JavaScript and in Lua.
getBaseElementLocationFromMetadataBlock(
p0: null,
p1: null,
p2: any,
p3: boolean
): booleangetBaseElementLocationFromMetadataBlock(
p0: nil,
p1: nil,
p2: any,
p3: boolean
): boolean✕
Blocked for scripts: Raw memory and structures
This native reads or fills a memory structure a script has no way to provide, so it is not callable. For entity lists, use lsmp.getGamePool. For JSON, use lsmp.json.
Calling it raises disabled by LSMP script policy, which try / catch (JavaScript) or pcall (Lua) can intercept. Nothing reaches the game. See Blocked natives.
Reference
- Namespace
- Misc MISC
- In the game
BOOL GET_BASE_ELEMENT_LOCATION_FROM_METADATA_BLOCK(Any* p0, Any* p1, Any p2, BOOL p3)- Hash
0xB335F761606DB47C- Formerly
_GET_BASE_ELEMENT_METADATA