removeModelHide
REMOVE_MODEL_HIDE0xD9E3006FB3CBD765The GTA V native REMOVE_MODEL_HIDE of the ENTITY namespace, as LS:MP client scripts call it: the global function removeModelHide, in JavaScript and in Lua.
removeModelHide(
x: number,
y: number,
z: number,
radius: number,
modelHash: Hash,
p5: boolean
): voidremoveModelHide(
x: number,
y: number,
z: number,
radius: number,
modelHash: Hash,
p5: boolean
)Usage
JavaScript
removeModelHide(x, y, z, radius, modelHash, p5);Lua
removeModelHide(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
removeModelHide(pos, radius, modelHash, p5);Lua · with vectors
removeModelHide(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.
Notes
From the community native database. Names are LS:MP’s; samples may be written for C++ or another framework.
This native makes entities visible that are hidden by the native createModelHide.
p5 should be false, true does nothing
Reference
- Namespace
- Entity ENTITY
- In the game
void REMOVE_MODEL_HIDE(float x, float y, float z, float radius, Hash modelHash, BOOL p5)- Hash
0xD9E3006FB3CBD765