Native referenceFiveM

CREATE_MODEL_HIDE

0x8A97BCA30A0CE478 ENTITY
FUNCTION SIGNATURE
void CREATE_MODEL_HIDE(float x, float y, float z, float radius, Hash model, BOOL surviveMapReload);
Property Value
Native Name CREATE_MODEL_HIDE
Hash 0x8A97BCA30A0CE478
Return Type void
Parameters x (float), y (float), z (float), radius (float), model (Hash), surviveMapReload (BOOL)

Description: Hides all objects of the specified model intersecting a sphere centered at (x, y, z) with the given radius. Network players do not see changes done with this. Use CREATE_MODEL_HIDE_EXCLUDING_SCRIPT_OBJECTS if you only want to hide map objects and exclude those created by scripts. Use REMOVE_MODEL_HIDE to make hidden objects visible again.

Parameters

  • x (float) — X Coordinate of the hiding sphere center.
  • y (float) — Y Coordinate of the hiding sphere center.
  • z (float) — Z Coordinate of the hiding sphere center.
  • radius (float) — Radius of the hiding sphere.
  • model (Hash) — The object's model hash to hide.
  • surviveMapReload (BOOL) — If false, only currently loaded objects are hidden. If their map unloads (e.g. by moving away) and reloads, the objects will reappear.
Back to ENTITY