PDA

View Full Version : Scarab coin



fgh
12-04-2015, 02:36 PM
I need a script to put scarab coin in cosal, to teleport in tombs...

rusek
03-31-2016, 04:16 PM
bumbp

kamilqq
03-31-2016, 06:08 PM
Self.DropItem(x, y, z, item, amount)
That's what you looking for.

Sheradial
03-31-2016, 09:13 PM
I need a script to put scarab coin in cosal, to teleport in tombs...

bumbp


--- 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)



In your case, you would use

Self.DropItem(x, y, z, 3042, 1)