• 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!

Parchement Room Quest.

Exotis

New Member
Joined
May 8, 2009
Messages
52
Reaction score
0
I can't create the parchement room, I'd like a script that when I click the parchement it spawns 4 demons in the room. Thanks :D
 
Lua:
local demonPosition =
{
	{x = 155, y = 372, z = 9},
 	{x = 157, y = 372, z = 9},
	{x = 156, y = 376, z = 9},
	{x = 158, y = 376, z = 9}
}

function onUse(cid, item, fromPosition, itemEx, toPosition)
    if getPlayerStorageValue(cid, 23423) == -1 then
		for i = 1, 4 do
			doCreateMonster("Demon", demonPosition[i])
		end
           setPlayerStorageValue(cid, 23423, 1)
    else
           doPlayerSendCancel(cid, "msg for who already done")
    end
   return TRUE
end
 
Last edited:
Back
Top