• 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!
  • 2026 staff recruitment is open! Check it out and consider applying!

Quest Skrypt Action

Koci1994

Banned User
Joined
Dec 27, 2008
Messages
807
Reaction score
1
Witam poszukuje Skryptu na Behmoth Qest. Chodzi o to ze chce zrobic qest zeby byly 4 skrzynki i w nich np. giant sword ,golden armor,knight axe,ice rapier.Ale chce zeby skrypt pozwalal mi na wziecie tych wszystkich itemów .A nie tylko jednego.Wiem ze moge wziasc normalnie uniqe tego itemu. Ale wtedy bedze mial duplicate uid bo na mapie mam juz jeden taki qest . Prosze O odpowiedz.
__________
Karaxel jak nie mozesz mi pomuc z tym skryptem to lepiej nic nie pisz i ty Elf tez.
 
-- annihilator chests

function onUse(cid, item, frompos, item2, topos)

if item.uid == 3001 then
queststatus = getPlayerStorageValue(cid,9684)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Demon Armor.")
doPlayerAddItem(cid,2494,1)
setPlayerStorageValue(cid,9684,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 3002 then
queststatus = getPlayerStorageValue(cid,9685)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Sword of Valor.")
doPlayerAddItem(cid,2400,1)
setPlayerStorageValue(cid,9685,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 3003 then
queststatus = getPlayerStorageValue(cid,9686)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Stonecutter's Axe.")
doPlayerAddItem(cid,2431,1)
setPlayerStorageValue(cid,9686,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
elseif item.uid == 3004 then
queststatus = getPlayerStorageValue(cid,9687)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Thunder Hammer.")
doPlayerAddItem(cid,2421,1)
setPlayerStorageValue(cid,9687,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
else
return 0
end

return 1
end

Proszę. Poustawiaj sobie wedle własnych upodobań i masz skrypt którego poszukujesz.
Po prostu storagevalue w każdej ze skrzynek ustawiasz inny i już możesz brać każde z nich.
 
Czy limoge wykorzystac ten
function onUse(cid, item, frompos, item2, topos)

if item.uid == 15676 then
queststatus = getPlayerStorageValue(cid,5011)
if queststatus == -1 then
doPlayerSendTextMessage(cid,22,"You have found a Golden Armor.")
doPlayerAddItem(cid,2466,1)
setPlayerStorageValue(cid,5011,1)
else
doPlayerSendTextMessage(cid,22,"It is empty.")
end
end
return 1
end
tylko musze storrage value mu zmienic.Tylko ze ten mój to musz kilka plików.Ale to chyba nie ma ruznicy
 
Back
Top