No categories assigned

LUA:RemoveIconValue


LUA:AllFunctions - RemoveIconValue

Return to: LUA:AllFunctions | Tutorials | Portal | Forum | Project Manager | Bug Tracker


Remove the icon value.

Syntax

RemoveIconValue(param1, param2)

Parameters

Required - param1 (Spawn), param2 (sint32)
param1 is the spawn we want to remove from.
param2 is the icon id we want to remove.


Example

function hailed(NPC, Player)
	RemoveIconValue(Player, 1)
end

An NPC with this script will remove the icon value of 1