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

Making Item Stuck [8.6]

Solorn Moveryx

New Member
Joined
Mar 18, 2009
Messages
10
Reaction score
1
hi.I usualy dont post on the forum but i really need help
I want to know how i can put some item unable to move like pokemon when you cant put the pokedex on the floor and get rid of it.
Is there any way to make a item stuck on you making it unable to take it off or change it place?

I´m using version 8.6.
I think there isnt working tibia dat editors for this versionn.Is there another way to do it?
like movements dequip?i don´t know

Thanks.
 
Lua:
function onDeEquip(cid, item, slot)   
	return doPlayerSendCancel(cid, "Sorry, not possible") and false
end
The item of course needs to be in a slot(I.E. left hand or arrow slot) and not a backpack.
 
Sorry but it didnt worked.. :(
when i move from arrow place to the hand or the floor it moved
the only thing that did was saying the "Sorry,not possible"
did i do something wrong?
Lua:
	<movevent type="DeEquip" itemid="1993" slot="ammo" script="stuck.lua"/>

or is there any other way to do it?
Thanks.
 
Sorry but it didnt worked.. :(
when i move from arrow place to the hand or the floor it moved
the only thing that did was saying the "Sorry,not possible"
did i do something wrong?
Lua:
	<movevent type="DeEquip" itemid="1993" slot="ammo" script="stuck.lua"/>

or is there any other way to do it?
Thanks.

Lua:
function onDeEquip(cid, item, slot)
return doPlayerSendCancel(cid, "Sorry, not possible.")
end

Shortened - and false was not required at all it might the reason why didint worked, that fact you doing return it will stay as false
 
Omg it didnt work either
i starting to think there isnt a way to do with dequip >.>
but i want to thank you all for the help

EDIT:
i have a ideia maybe could work.
When player takes out of the slot by deEquip.Make the item disappear and make appear a new one in the slot.(but i would like the new one to come with a item inside as the item that is to be stuck is a container like for example of a backpack is the item to stuck on the arrow slot....a brand new one come with a rune inside)
 
Last edited:
Back
Top