Skip to content

function getPlayerTimedOverlays (client-side)

Available since version: 0.3.2

This function will get the player/npc timed animations overlays, which are currently active, e.g: HUMANS_SPRINT.MDS if we drink speed potion.

Declaration

[string, ...]|null getPlayerTimedOverlays(int id)

Parameters

  • int id: the player id.

Returns [string, ...]|null

the array of animation overlays as strings or null if player isn't spawned.