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.
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~
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~