Skip to content

function playAni (client-side)

Available since version: 0.3.0

Play an animation on a player/npc for all players.

Declaration

boolean playAni(number player_id, string aniName)

Parameters

  • number player_id: Target player id.
  • string aniName: Animation name (e.g. "T_STAND_2_SIT").

Returns boolean

True on success.