Difference between revisions of "LUA:RemoveIconValue"
(Created page with "{{LUAFunction |Name = RemoveIconValue |Description = Remove the icon value. |Param1 = Spawn |Param1Desc = is the spawn we want to remove from. |Param2 = sint32 |Param2Desc = i...") |
(No difference)
|
Latest revision as of 11:09, 19 June 2022
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