Skip to content

clientOwner

ffredyk edited this page Jul 23, 2026 · 1 revision

clientOwner

Category

Scheduler Management

Arity

NularclientOwner.

clientOwner

Description

Returns the numeric ID of the current scheduler. This is the Arma SQF compatibility name for currentScheduler. In Arma, clientOwner returns the client ID of the machine where the command is executed. In SQ#, this maps to the scheduler ID.

Identical to currentScheduler. Both commands return the same value — use whichever matches your convention.

How It Works

Same implementation as currentScheduler. Returns the scheduler ID from the VM execution context.

Usage

_myId = clientOwner;           // e.g., 1
systemChat f"Client owner: {_myId}";

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