Skip to content

function stopAni (server-side)

Available since version: 0.0.1

This function is used to immediately stop played animation on player/npc for all players.

Declaration

void stopAni(int id, string aniName)

Parameters

  • int id: the player id.
  • string aniName: ="" the name of the animation that you want to stop. The default value is empty string, which means that the first active ani will be stopped.