Skip to content

function removePlayerOverlay (client-side)

Available since version: 0.2

This function will remove animation overlay from npc.

Declaration

bool removePlayerOverlay(int id, int overlayId)

Parameters

  • int id: the npc 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 npc, otherwise false.