Skip to content

function getPlayerAni (server-side)

Available since version: 0.3.0

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 created.