// CreateModelHide
void CREATE_MODEL_HIDE(float x, float y, float z, float radius, Hash model, BOOL surviveMapReload);
Parameters:- x:
X Coordinate of the hiding sphere center.
- y:
Y Coordinate of the hiding sphere center.
- z:
Z Coordinate of the hiding sphere center.
- radius:
Radius of the hiding sphere.
- model:
The object's model hash to hide.
- surviveMapReload:
If false, only currently loaded objects are hidden. If their map unloads (e.g. by moving away) and reloads, the objects will reappear.
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.