Skip to content

function removePlayerOverlay (client-side)

Available since version: 0.2

This function will remove animation overlay from player/npc.

Declaration

bool removePlayerOverlay(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 removed from npc, otherwise false.