Cloow
Active Member
- Joined
- May 10, 2010
- Messages
- 1,086
- Reaction score
- 35
Alright, i want this script to send cancel message if you dont have that item.
wont work now..
wont work now..
Code:
function onUse(cid, item, fromPosition, itemEx, toPosition)
if item.uid == 55152 then
doPlayerRemoveItem(cid, 5907, 1)
doTeleportThing(cid, {x=1365,y=759,z=6})
doPlayerSendTextMessage(cid,22,"You are in the mansion now, careful.")
else
doPlayerSendCancel(cid,"The skulls are not letting you in before you offer them something fierly and hard, made of some kind of rock.")
return TRUE
end