Swansoft
New Member
- Joined
- Apr 13, 2013
- Messages
- 49
- Reaction score
- 0
Hi Otland
I have this script and ive tried this
I tried this and kept getting kicks when i click the leaver
Actions.XML
and then i tried this and kept getting the same kicks when i click the leaver.
Actions.XML
actions/scripts/skeletonchanger.lua
Please help OTLAND REP+
I have this script and ive tried this
I tried this and kept getting kicks when i click the leaver
Actions.XML
PHP:
<action itemid="1496" event="script" value="skeletonchanger.lua"/>
and then i tried this and kept getting the same kicks when i click the leaver.
Actions.XML
PHP:
<action actionid="6669" event="script" value="skeletonchanger.lua"/>
actions/scripts/skeletonchanger.lua
PHP:
function onUse(cid, item, fromPosition, itemEx, toPosition)
local cratureSpeed = getCreatureSpeed
if item.itemid == 1945 then
doPlayerSendTextMessage(cid,251,"We have warned you to enter this room. and now we cursed you !")
doSetCreatureOutfit(cid,33, 36000)
doChangeSpeed(cid,154, 36000)
doTransformItem(item.uid, item.itemid + 1)
elseif item.itemid == 1946 then
doPlayerSendTextMessage(cid,251,"Seems this switch is only one-way !")
doTransformItem(item.uid, item.itemid - 1)
end
return TRUE
end
Please help OTLAND REP+