Exedion
Active Member
- Joined
- Jun 11, 2007
- Messages
- 628
- Reaction score
- 30
i dont know what happend with this script but dont work! can someone explain me?
Code:
function onStepIn(cid, item, pos)
novapos = {x=245, y=828, z=14}
playerpos = getPlayerPosition(cid)
if item.uid == 20001 then
if getPlayerStorageValue(cid,1234561) == -1 then
getThingfromPos(playerpos)
doTeleportThing(cid,novapos)
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'Sorry, but you did not absorb enough energy!')
else
doSendMagicEffect(pos, CONST_ME_ENERGYHIT)
doPlayerSendTextMessage(cid,MESSAGE_EVENT_ADVANCE,'You absorbed enough energy! You may pass.')
end
Last edited: