GSC reference › Built-in
IsClientCacheStable()
Built-in (engine)
Server
Called on: player
Is the players client cache stable, have we loaded all other clients' resources.
Signature
<player> IsClientCacheStable()
Called on an entity: player IsClientCacheStable(...)
Example (from Treyarch's docs)
player IsClientCacheStable()
Real uses in BO3's scripts
Not called anywhere in BO3's shipped scripts, so check it works in your mode before relying on it.
Related built-ins
- NewClientHudElem()Create a new hud element for a particular client
- RegisterClientField()Register a client field.
- SetClientUIVisibilityFlag()Sets a HUD visibility flag only on this client
- GetLocalClientNumber()Returns the local client number.
- SetClientNameMode()Alters the way that the player name is updated, to prevent cheating by spectators altering their name to communicate with active players.
- SetClientThirdPerson()Set the client to be third person
- SetClientScriptMainMenu()Sets g_scriptMainMenu dvar only on this client
- IsLocalClientDriver()Returns the driver of the vehicle.
- CodeSetClientField()Sets the value for a given client field.
- GetClientTime()Gets the current client time in milliseconds
- IsTestClient()Returns true if the player is a test client (Does not have a remote user).
- PrecacheLeaderboards()Precache a sp/mp leaderboard.
New to GSC?
Start with the basics, or paste a compile error to get the fix.
Built-in descriptions, parameters and examples come from Treyarch's BO3 mod tools docs. Usage links point at shiversoftdev/t7-source (decompiled BO3 scripts).