I need a script to put scarab coin in cosal, to teleport in tombs...
Printable View
I need a script to put scarab coin in cosal, to teleport in tombs...
bumbp
Self.DropItem(x, y, z, item, amount)
That's what you looking for.
In your case, you would useCode:--- Self drop item.
-- Drops a specific amount of a specific item on a specific position
-- @Class Self
-- @param x coordinate in the map on the x-axis
-- @param y coordinate in the map on the y-axis
-- @param z coordinate in the map on the z-axis
-- @param itemid the item's id or name
-- @param count optional; the amount to drop
-- @return boolean true or false
function Self.DropItem(x, y, z, itemid, count)
Self.DropItem(x, y, z, 3042, 1)