Skip to content

function stopAni (client-side)

Available since version: 0.1.0

This function is used to stop played animation on hero/npc.

Declaration

void stopAni(int id, string aniName = "" the name of the animation that you want to stop. The default value is `")

Parameters

  • int id: the player id.
  • string aniName: "` which means that the first active ani will be stopped.