ServersYour serverFor creatorsForumFAQDocumentationSecurity
Download the launcher
  1. Documentation
  2. Client functions
  3. isGameScriptAvailable

Function

isGameScriptAvailable

ClientGame engineTrilogy Hub only

Checks whether the client can call game script commands (the base of some functions, e.g. dxDrawModel3D and createExplosion on the client).

Syntax

bool isGameScriptAvailable()

Returns

true when available.

Example

outputChatBox(tostring(isGameScriptAvailable()))

See also