No categories assigned
LUA:RemoveLootItem
- Last edited 12 years ago by I need to Update My Profile
LUA Functions: RemoveLootItem()
Removes the item with the given ID from the given spawns loot list
Syntax
RemoveLootItem(param1, param2)
Parameters
- Required - param1 (Spawn), param2 (int32)
- param1 is the spawn we want to remove the item from
- param2 is the item ID to remove
Usage
function hailed(NPC, Spawn)
RemoveLootItem(NPC, 1234)
end
When hailed the NPC ill remove the item with ID 1234 from its loot list