Problem bring old printer to gmod 13 (timer.Simple)

Guys im bring an old printer to gmod 13 and im having an issue with understanding how timers work in garrysmod 13

the old version is this

timer.Simple(27, PrintMore, self)

timer.Simple(burntime, self.Fireball, self)

timer.Simple(3, ent.CreateMoneybag, ent)

timer.Simple(math.random(250, 300), PrintMore, self)

What should these be in garrysmod 13 ?

Thanks in advance

timer.Simple(27, function() PrintMore (self) end)
timer.Simple(burntime, function() self.Fireball(self) end)
timer.Simple(3, function() ent.CreateMoneybag(ent) end)
timer.Simple(math.random(250, 300), function() PrintMore(self) end)

I believe that is how it is meant to be.

Worked like a charm, thank you very much :slight_smile: