The-Programmer Forum

Maxence a écrit le dernier message :
#2
Hello :)

There is many way to do that, but first you'll have to edit the dialog of the menu you want (.hpp files, for example in the settings) to add for example a Life_Checkbox control.
Then when this box is activated, you can set a variable, for example :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !

Here is an example of a Life_Checkbox with the variable :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !
WARNING : You'll have to put the position of it : x, y, w, h

Then to block incoming messages/calls, in your @The_Programmer/addons/advanced_phone/client/fn_sendMSG.sqf, find :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !
and add below :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !

And in your @The_Programmer/addons/advanced_phone/client/fn_sendCall.sqf, find :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !
and add below :
S’il vous plaît, Connexion ou S'inscrire pour voir le code !

You just have to correctly place the CheckBox in the dialog and it should work :)