• 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!

DoTransformItem to more item then one.

Burn

New Member
Joined
Dec 23, 2009
Messages
26
Reaction score
1
Hey all.
I have script:

Code:
function onUse(cid, item, frompos, item2, topos)
    
	if item2.itemid == 8299 then
		if item.type <= 1 then
			doTransformItem(item.uid,2270)
		else
			doPlayerSendCancel(cid,"Only one by one.")
		end
	else 
		return 0
	end
	return 1
end

How i can DoTransformItem to more item ?
This script make one manarune i want more then one.
Sorry for my bad english ..

Yyyy! I need more help.
How i can doremoveitem id 4849 ?
I know only that:
doRemoveItem(item.uid,1)
Then i want remove item id 4849.

This is script:

Code:
function onUse(cid, item, frompos, item2, topos)
    
	if item2.itemid == 4849 then
		if item.type <= 1 then
			doTransformItem(item.uid,8294)
		else
			doPlayerSendCancel(cid,"Only one by one.")
		end
	else 
		return 0
	end
	return 1
end

Thanks.
 
Code:
function onUse(cid, item, frompos, item2, topos)
	if item2.itemid == 8299 then
		doTransformItem(item.uid,2270,item.type)
	else 
		return false
	end
	return true
end

Try this out and tell me how it goes.

Best Regards,
Ispiro.
 
Code:
Lua Script Error: [Action Interface]
data/actions/scripts/zapaliclufemj.lua:onUse

luaDoTransformItem(). item not found
This error is on the console
You know what is that?
 
Back
Top