Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --[[
- task2 :
- When running the script, make it that the first item spawned by the shaman will be removed after 3 seconds.
- You may not create any other variables or make any functions,
- You may only fill the events.
- ]]
- for k,v in pairs(tfm.get.room.playerList) do
- tfm.exec.setShaman(k)
- end
- t = 0
- var = {}
- function eventSummoningEnd(name, otype, x, y, angle, xv, yv, statics)
- if t<=0 then
- t=7
- end
- table.insert(var,otype)
- end
- function eventLoop()
- t=t-1
- if t==1 then
- tfm.exec.removeObject(var[1])
- t=99999999
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement