AddLootCoin(Spawn: Spawn, Int32: Value)
Pre-Requisite(s)
- None
Parameter(s)
Spawn: Spawn - LUA Pointer for Spawn.
Int32: Value - Set the icon to the value provided.
Return(s)
- None
Example(s)
function death(NPC, Spawn)
AddLootCoin(NPC, 10) – Add 10 copper to NPC on their death
end
Result
Additional Notes