How to change a chat message announcement to a pNotify announcement

So What I´m trying to do is that the automatic server restart announcement of txadmin pops up with the pNotify system, not with the chat.
This is the part in the sv_main.lua of the restart announcement
image
I tried several things but didn´t manage to get it working.
Any ideas ?

Hello, this is a friendly reminder because this is your first time creating a topic (or it has been a while since your last topic) in this category.

Please note that most of the support is provided by the Cfx.re community on a voluntary basis. We ask you to be patient; there is no guarantee we have a solution to your problem(s). To avoid unnecessary/duplicate topics, please browse the forums before creating a topic.

To improve your chances of your issue(s) being solved, please provide as much information as possible about the issue(s) you are having. Also —whenever possible— please use the template given to you when creating a topic.

Thanks for keeping these forums tidy!
:mascot:

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.