Skip to content

function getPlayerAni (client-side)

Available since version: 0.0.1

This function will get the active player/npc animation.

Declaration

string|null getPlayerAni(int id)

Parameters

  • int id: the player id.

Returns string|null

the ani name, e.g: "S_RUN" or null if player isn't spawned.