Skip to content

isClient

ffredyk edited this page Jul 23, 2026 · 1 revision

isClient

Category

Multiplayer

Arity

NularisClient.

isClient

Description

Returns the inverse of isServer. Returns true if the current process is a client, false if it is the server. In the SQ# host, this is always false (the host is the server).

Registered by DeclareMultiplayerCommands(). NOT called automatically — host must invoke explicitly.

How It Works

Returns !isServer. Purely for Arma SQF compatibility.

Usage

if (isClient) then {
    // Client-only logic (never runs in SQ# host by default)
};

Thread Safety

ReadOnly — pure query.

See Also

SQ# Wiki

Home

Engine Docs

Migration

Commands

Value Constructors

Arithmetic

Comparison

Logic

Array

String

Math

Random

Type & Introspection

HashMap

Code Execution

Concurrency

Scheduler

Thread Safety

Error

Output

Time

Multiplayer

Compiler

Clone this wiki locally