createModelHideExcludingScriptObjects
CREATE_MODEL_HIDE_EXCLUDING_SCRIPT_OBJECTS0x3A52AE588830BF7FThe GTA V native CREATE_MODEL_HIDE_EXCLUDING_SCRIPT_OBJECTS of the ENTITY namespace, as LS:MP client scripts call it: the global function createModelHideExcludingScriptObjects, in JavaScript and in Lua.
createModelHideExcludingScriptObjects(
x: number,
y: number,
z: number,
radius: number,
modelHash: Hash,
p5: boolean
): voidcreateModelHideExcludingScriptObjects(
x: number,
y: number,
z: number,
radius: number,
modelHash: Hash,
p5: boolean
)Usage
JavaScript
createModelHideExcludingScriptObjects(x, y, z, radius, modelHash, p5);Lua
createModelHideExcludingScriptObjects(x, y, z, radius, modelHash, p5)Three consecutive numbers can be given as one vector: { x, y, z } (or [x, y, z]) in JavaScript, a Vector3 in Lua.
JavaScript · with vectors
createModelHideExcludingScriptObjects(pos, radius, modelHash, p5);Lua · with vectors
createModelHideExcludingScriptObjects(pos, radius, modelHash, p5)Parameters
| Parameter | Type | JavaScript | Lua |
|---|---|---|---|
x | float | number | number |
y | float | number | number |
z | float | number | number |
radius | float | number | number |
modelHash | Hash | number | integer |
p5 | BOOL | boolean | boolean |
Returns
Nothing. In JavaScript the call evaluates to undefined.
Reference
- Namespace
- Entity ENTITY
- In the game
void CREATE_MODEL_HIDE_EXCLUDING_SCRIPT_OBJECTS(float x, float y, float z, float radius, Hash modelHash, BOOL p5)- Hash
0x3A52AE588830BF7F