me and my friend just tried to do it but guess what it worked on him but when he gave it to me it doesnt work...
and in actions xml i put
Any help please fast
maybe storage ??
Code:
local t = {
storage = 32000,
interval = 45,
monster = {"Butter Guardian", {x=120, y=656, z=7}},
msg = "NOT SO FAST!"
}
function onStepIn(cid, item, position, fromPosition)
if os.difftime(os.time(), getGlobalStorageValue(t.storage)) >= t.interval then
doCreatureSay(cid, t.msg, TALKTYPE_ORANGE_1)
doSummonCreature(t.monster[1], t.monster[2])
setGlobalStorageValue(t.storage, os.time())
end
end
Code:
<movevent type="StepIn" uniqueid="25567" event="script" value="Guard.lua"/>
Any help please fast
maybe storage ??
Last edited: