Skip to content

function applyPlayerOverlay (server-side)

Available since version: 0.1.0

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


bool applyPlayerOverlay(int id, int overlayId)


  • int id: the player id.
  • int overlayId: the overlay id from mds.xml file, e.g:"HUMANS_MILITIA.MDS")

Returns bool

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