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

problem with a boots movement script =/

Ashtar

ShadowRealm.online
Joined
May 1, 2009
Messages
312
Reaction score
102
well i have 2 problems mainly on this script...

1.- If i equip the boots i get the speed with no problems but if i Deequip the boots i dont get the speed removed, it stays the same if i had the boots on.


2.- If i remove the return true line on the onEquip function, i cant wear the boots... it says i cant wear the boots on that slot.

Code:
function onEquip(cid, item, slot)
	doChangeSpeed(cid, 1000)
return true
end
 
function onDeEquip(cid, item, slot)
doChangeSpeed(cid, -1000)
end

i wanna know why im not getting the speed removed while removing the boots from my feet slot =/.

thanks for alot for your time. i will ofc rep++ any kind of help.

~Kind regards~
~Ashtar~
 
i wanna make a condition on movements like this...

if item uniqueid==bla bla then
dochange speed...

a script like that wouldnt work if i move stuff in items.xml

So you can set speed in items.xml and create condition in movements.
 
Back
Top