EntityClient

removeModelHide

REMOVE_MODEL_HIDE0xD9E3006FB3CBD765

The 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.

SignatureJavaScript
removeModelHide(
  x: number,
  y: number,
  z: number,
  radius: number,
  modelHash: Hash,
  p5: boolean
): void
SignatureLua
removeModelHide(
  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

ParameterTypeJavaScriptLua
xfloatnumbernumber
yfloatnumbernumber
zfloatnumbernumber
radiusfloatnumbernumber
modelHashHashnumberinteger
p5BOOLbooleanboolean

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

Open in the interactive natives reference