Skip to content

getPedNativeGroupDiagnostic

Client-side

Returns focused ownership and native-member diagnostics for one ambient group token.

Syntax

table|false getPedNativeGroupDiagnostic(int token)

Arguments

tokenint

Group token owned by the calling resource.

Returns

A diagnostic table with active/reason, group/member state and task pointers; false when no resource context exists.

Ownership and lifecycle

Candidate queries create nothing. A multiplayer resource must validate each proposal, create and own the real NPCs and vehicles, assign one current syncer, handle ownership changes, and clean up every element. Native AI and event tokens belong to the calling resource and are revoked when that resource stops.

Important behavior
  • This is a debugging surface, not gameplay state to synchronize.

Where this comes from

RELATED SA:O APIS

Continue exploring

Read the system guide →