No categories assigned

LUA:used

This function is called when an item is used.

Syntax

used(Item, Player)

Usage

function used(Item, Player)
    Say(Player, "item used")
end

When item with this function in it's script is used the play who used the item will say "item used".


Back to LUA Items Index