Timed chat notifications

Hey,

I am trying to add a chat notification feature similar to ULX where it adds a phrase to the chat every x amount of seconds to the admin mod I’m using.
I know it has something to do with timers but I really don’t know where to start to be honest.
Any input would really help.

Thanks in Advance,
Kirby

timer.Create(“chatnotis”, 1 , 0 , spammymessage)

function spammymessage()
player.GetAll():ChatPrint(“your message of doom”)
end

[editline]15th September 2015[/editline]

ULX pretty much uses timer.Create as listed above, and they put all the messages in an table with the given time, and then do an for loop to create the timers with the time & message.

omg im stupid i didnt realise you could make it loop infinite times with 0 ahahha thanks mate

np, mate. Close thread if solved :wink: