Skip to content

function removePlayerOverlay (server-side)

Available since version: 0.1.0

This function will remove animation overlay from player for all players.

Declaration

bool removePlayerOverlay(int id, int overlayId)

Parameters

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

Returns bool

true if animation overlay was successfully removed from player, otherwise false.