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