• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!
  • New resources must be posted under Resources tab. A discussion thread will be created automatically, you can't open threads manually anymore.

OnStepIn Create item Problem

Blackcody

RiseOfTibia Owner
Joined
Aug 31, 2008
Messages
136
Reaction score
1
Lua:
local pos = {x = 1439, y = 1496, z = 7}
local id = 1511
local time = 2

function onStepIn(cid, item, pos)
	doCreateItem(1511, 1, pos)
	addEvent(doRemoveItem,time * 1000, id,1,pos)
	return true
end

its createing the item under the player insted of on that postion
 
Back
Top