Skip to content

engineSetCullZoneEnabled

Client-side

Enables or disables a custom zone or a vanilla zone claimed by the caller.

Syntax

bool engineSetCullZoneEnabled(int id, bool enabled)

Arguments

idint

Stable zone ID.

enabledbool

Desired state.

Returns

true when ownership and state checks pass; false otherwise.

Ownership and lifecycle

When the owner stops, San Andreas Online deletes its custom zones and restores any vanilla zones it claimed.

Where this comes from

RELATED SA:O APIS

Continue exploring

Read the system guide →