[ques] Help, Notifications

I cant do ONE, SIMPLE Notification!
So, Can someone post an example of notification?
Please, I need it for my mod.

GameManager.company.notifications.push(new Notification("Title", "Text here"));
2 Likes

Oh,lol. Thanks! I Just didn`t wrote the GameManager.

Wait, there is Type error, it cant read property ‘notifications’ of undefined.

And what about date? There isnt date defined, so when it will happen?

This piece of code gives an notification when the code is run…, you are getting an error because you are running it before you game is loaded…Maybe you are looking for an event instead?

1 Like

I was trying with normal notification, because it was easier to make. But now I think I need that event. But in the type of notification, Without options, decisions.

After 2 Months, Thank You.
I was searching for it everywhere…