Sir MoX
New Member
- Joined
- Jan 14, 2009
- Messages
- 285
- Reaction score
- 1
I have a big problem... I have the begginer quests that are made by script, and those chest can be moveable, the other chest that dont use script doesnt move and bad players move them and erease them in the dusbin for example.
here is the script to someone help to do the chest unmoveable:
here is the script to someone help to do the chest unmoveable:
function onUse(cid, item, frompos, item2, topos)
if item.actionid == 1222 then
if isDruid(cid) then
queststatus = getPlayerStorageValue(cid,1222)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a snakebit rod")
doPlayerAddItem(cid,2182,1)
setPlayerStorageValue(cid,1222,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
else
doPlayerSendTextMessage(cid,22,"You don't have the right vocation.")
end
else
return 0
end
return 1
end