-
Notifications
You must be signed in to change notification settings - Fork 0
isClient
ffredyk edited this page Jul 23, 2026
·
1 revision
Multiplayer
Nular — isClient.
isClient
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.
Returns !isServer. Purely for Arma SQF compatibility.
if (isClient) then {
// Client-only logic (never runs in SQ# host by default)
};ReadOnly — pure query.
- isServer — server check
- hasInterface — UI check
- Getting Started
- Language Guide
- Type System
- Control Flow
- Functions & Code
- Strings & Text
- Arrays & Collections
- Concurrency
- Promise System
- Thread Safety
- Host API & Embedding
- CLI Tool
- Bytecode Reference
- Multiplayer
- Syntax Sugar
- Optimization Guide
- Benchmarks
- count
- select
- pushBack
- append
- deleteAt
- deleteRange
- resize
- reverse
- sort
- find
- in
- forEach
- freeze
- thaw
- isFrozen
- currentScheduler
- clientOwner
- allSchedulers
- schedulerName
- schedulerExists
- schedulerBudget
- setSchedulerBudget
- fiberCount
- readyFiberCount
- waitingFiberCount
- schedulerLoad
- sendTo