• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

how I configure?

Code:
local config = {
	position = { x = 100, y = 100, z = 7, stackpos = STACKPOS_TOP_FIELD },
	id = 1387
}

	if getThingfromPos(config.position).itemid == config.id then
		doRemoveItem(getThingfromPos(config.position).uid)
	end

Code:
	local item = 2400
	doSetItemActionId(doCreateItemEx(item), 17390)
 
there is no setuniqueid lua function, however if you are able to compile sources you can easily add a one into luascript.cpp, since the setuniqueid function already exists in the sources just not in lua form
 
Back
Top