| Property | Value |
|---|---|
| Native Name | CREATE_MODEL_HIDE_EXCLUDING_SCRIPT_OBJECTS |
| Hash | 0x3A52AE588830BF7F |
| 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, excluding objects created by scripts.
Network players do not see changes done with this.
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.