Skip to content

function applyPlayerOverlay (server-side)

Available since version: 0.1.0

This function will apply animation overlay on player/npc for all players.

Declaration

bool applyPlayerOverlay(int id, string overlay)

Parameters

  • int id: the player id.
  • string overlay: the name of overlay, e.g: "HUMANS_MILITIA.MDS"

Returns bool

true if animation overlay was successfully applied on player, otherwise false.