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

Step on tile to summon multiple monsters, only 1 player able to enter the room.

Linken93

Member
Joined
Apr 6, 2010
Messages
313
Reaction score
7
Location
SWEDEN
Hello!

I would like to request one script and a little edit on one.

I don't want any storage when step on tile, only able to use each 10 seconds for example and it summons multiple monsters.
Code:
local t = {
    storage = 32001,
    monster = {"Hydra", {x=xxxx, y=xxx, z=x}},
    msg = "Random message"
}
function onStepIn(cid, item, position, fromPosition)
    if getPlayerStorageValue(cid, t.storage) < 1 then       
        doCreatureSay(cid, t.msg, TALKTYPE_ORANGE_1)
        doSummonCreature(t.monster[1], t.monster[2])
        setPlayerStorageValue(cid, t.storage, 1)
    end
    return TRUE
end

And for the second request, Only one player is able to walk into a room through a teleport, When 10 minutes has passed he will be kicked out from the room. Each time a player get into a teleport he will lose a item.

Thanks in advance!
 
Back
Top