[Advanced Phone] Do not show the message but only the notification of a new message

Mathis

TP-Forum Team
Membre du personnel
Welcome to this tutorial which will allow you to not display the number and message when you receive a message to force players to open the menu.
This is only explained for civilians, but it is simple to do it for other factions ;)

Let's go !

For hint (message on the top right) :
In your @The_Programmer/addons/advanced_phone/client/fn_clientMessage.sqf search these lines :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !
S’il vous plaît, Connexion ou S'inscrire pour voir le code !
And replace then by :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !

For the systemChat (mesasge in the chat) :
In the same file, search this line :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !
And you can delete it to remove the message, or alternatively, edit it by putting a systemChat "You've a new message !";.

And you can do the same for the different "cases", you just have to spot hints or notifications (bis_fnc_showNotification) (if you want to do it in the different factions).

Here we go !

Sincerely,
Forum Manager - Mathis