I tried one new one, also learning me , and thats why i release, first see if it work!
Like i said, i dont know if it work, but i hope!
/REPORT BUGS!
Code:
-- Script by Ates, [Spawn_3_Demons]
-- Edited by Gelio
-- Help by Colandus
function onUse(cid, item, fromPosition, itemEx, toPosition)
local pos = {X=1000, Y=1000, Z=7} -- Where to 1 Demon spawn
local pos2 = {X=1001, Y=1000, Z=7} -- Where to 2 Demon spawn
local pos3 = {X=1002, Y=1000, Z=7} -- Where to 3 Demon spawn
local mon = "demon" -- Do not edit (Spawning_Demon)
local mon2 = "demon" -- Do not edit (Spawning_Demon)
local mon3 = "demon" -- Do not edit (Spawning_Demon)
if item.itemid == 1945 then
if (getPlayerStorageValue(cid, 9999) == -1) then
doSummonCreature(mon, pos)
doSummonCreature(mon2, pos2)
doSummonCreature(mon3, pos3)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You opened the Hell.")
setPlayerStorageValue(cid,9999,1)
else
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "You cannot open it more!.")
end
end
end
Like i said, i dont know if it work, but i hope!
/REPORT BUGS!
Last edited: