Skip to content

updatePedNativeCouplePresentation

Client-side

Refreshes the observer-side couple pairing and walk-side presentation for one token.

Syntax

bool updatePedNativeCouplePresentation(int token)

Arguments

tokenint

Presentation token.

Returns

true when the presentation state was refreshed; false for an unknown, stale, or foreign token.

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
  • Call this from the observer render or pulse loop while the pair is streamed in.

Where this comes from

RELATED SA:O APIS

Continue exploring

Read the system guide →