Skip to content

function stopAni (client-side)

Available since version: 0.3.0

This function will stop a played animation on the player/NPC.

Declaration

boolean stopAni(number player_id, string|nil aniName)

Parameters

  • number player_id: Target player or NPC id; negative ids refer to client-local NPCs.
  • string|nil aniName: Animation name to stop. Defaults to "" for first active animation.

Returns boolean

True on success.