kaspertje100
Member
- Joined
- May 8, 2008
- Messages
- 236
- Reaction score
- 7
Hey guys,
This is my script:
Now this i wanna add: If the stone already have been removed. Then send the player who is trying to use the lever 'The stone already have been removed' and make that the scripts won't try to remove the stone if it already is removed.
Thanks in advance
This is my script:
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
doTransformItem(item.uid, 1946)
doRemoveItem(getTileItemById({x=1105, y=1063, z=14}, 1304).uid)
doSendMagicEffect({x = 1073, y = 1029, z = 13}, CONST_ME_BLUE_SPARKLE)
doCreatureSay(cid, "A huge stone have been removed", TALKTYPE_ORANGE_1)
return TRUE
end
Now this i wanna add: If the stone already have been removed. Then send the player who is trying to use the lever 'The stone already have been removed' and make that the scripts won't try to remove the stone if it already is removed.
Thanks in advance