Hello Again ;
I need help whith This i gona show you some pictures.
Than We Got The scripts Actions.xml
Than We Got script! \data\actions\scripts\donate island
Thankz If U Help Me I Give Rep++
Than We Got The scripts Actions.xml
HTML:
<action uniqueid="50000" script="donate island/quest.lua"/>
Than We Got script! \data\actions\scripts\donate island
HTML:
-- Script by Ates
function onUse(cid, item, fromPosition, itemEx, toPosition)
local monster = "demon"
local pos1 = {x=32104, y=33267, z=12}
local pos2 = {x=32107, y=33272, z=12}
local pos3 = {x=32102, y=33275, z=12}
local pos4 = {x=32108, y=33276, z=12}
local pos5 = {x=32104, y=33286, z=12}
local pos6 = {x=32106, y=33286, z=12}
local id = 1419
if item.itemid == id and item.uid == 50000 then
if isPlayer(cid) == TRUE then
if queststatus == (getPlayerStorageValue(cid, 55000)
doSummonCreature(monster, pos1)
doSummonCreature(monster, pos2)
doSummonCreature(monster, pos3)
doSummonCreature(monster, pos4)
doSummonCreature(monster, pos5)
doSummonCreature(monster, pos6)
setPlayerStorageValue(cid, 55000) -1
else
if getPlayerStorageValue(cid, 55000) == -1 then
doCreatureSay(cid, "You cannot open it more.", TALKTYPE_ORANGE_1)
end
return 1
end
end
Thankz If U Help Me I Give Rep++