• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

[Request] Please complete this script

xato

New Member
Joined
Dec 18, 2008
Messages
14
Reaction score
0
function onStepIn(cid, item, position, fromPosition)
text = "Felicidades terminaste el Quest!!"
-- fase 1
if item.uid == 9009 then
doTransformItem(1500,1484)
doTransformItem(1501,1484)

-- fase 2
elseif item.uid == 9008 then
doTransformItem(1502,1484)
doTransformItem(1503,1484)
-- if item.uid == 1500 and item.itemid == 1484 then <--- Here is the problem I need the UniqueID 1500 is item 1484 act and the script does not do as well .... I got it wrong and that's why it's off with the "--" and all its features please HELP
doTransformItem(1500,1483)
doTransformItem(1501,1483)
-- end
-- fase 3
elseif item.uid == 9007 then
doTransformItem(1504,1484)
doTransformItem(1505,1484)
-- if item.uid == 1500 and item.itemid == 1483 then
doTransformItem(1500,1482)
doTransformItem(1501,1482)
-- end
-- if item.uid == 1502 and item.itemid == 1484 then
doTransformItem(1503,1483)
doTransformItem(1502,1483)
-- end
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, text)
-- fase 4
elseif item.uid == 9006 then
-- if item.uid == 1502 and item.itemid == 1483 then
doTransformItem(1503,1482)
doTransformItem(1502,1482)
-- end
-- if item.uid == 1504 and item.itemid == 1484 then
doTransformItem(1505,1483)
doTransformItem(1504,1483)
-- end
-- fase 5
elseif item.uid == 9005 then
-- if item.uid == 1504 and item.itemid == 1483 then
doTransformItem(1504,1482)
doTransformItem(1505,1482)
-- end

end
return TRUE
end
me english is very bad because I used google xD
 
You are using doTransformItem in a faulty way. Try replacing your doTransformItems' with this (where you update the NEW_ITEM_ID to the new item id, obviously);
PHP:
doTransformItem(item.uid, NEW_ITEM_ID)
 
I not have problem the script is perfecty in this part ....ty =.....


I need when the player passes the sqm this the following action ... without the UID1500 is the desert item1484 change an item, if not a item1484 that will not change....

I used "google traductor"
 
Back
Top