StopAnim

From Wiki G1R-MP G1 Remake Multiplayer
Revision as of 20:14, 5 August 2026 by QCherry (talk | contribs) (Automatyczna aktualizacja dokumentacji funkcji)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

stopAnim

Stops a scripted visual animation previously requested for a player.

Syntax

bool stopAnim(int playerId)

Parameters

Name Type Required Description
playerId int yes The connected player identifier.

Returns

Returns true when the stop request is accepted and queued; otherwise returns false.

Examples

Stop a scripted animation:

stopAnim(playerId)

Notes

  • Available only in server-side resource scripts.
  • Experimental: this affects the scripted animation layer and does not replace the normal replicated locomotion or action system.