I made a custom notification and the question is, how do I make so that they appear sequentially (one disappeared, another, etc)I made a custom notification and the question is, how do I make so that they appear sequentially (one disappeared, another, etc)
I tried a timer, but it didn't work
function newspaper(text, time, types)
local Table = {}
Table.Texts = text
Table.Times = time
Table.Typess = types
net.Start( "newspanles" )
net.WriteTable(Table)
net.Send(player.GetAll())
end
When the client revives the message, add a timestamp:
Table.TimeStamp = CurTime() + 5
Then remove the message if the TimeStamp is under or equal to CurTime().
This also allows you to set/send the duration the notification.
Sorry, you need to Log In to post a reply to this thread.