Jump to content
Our website is made possible by displaying online advertisements to our visitors.
Please consider supporting us by disabling your ad blocker.

WE ARE CLOSING!

WE ARE SHUTTING DOWN COME TO DISCORD TO HEAR WHAT IS GOING ON! ALL USERS STILL HAVE ACCES TO THE SITE UNTIL THEY HAVE A SUBSCRIPTION THAT IS STILL ACTIVE!
JOIN DISCORD

1 Screenshot

About This File

Easy to use.

Custom not. script

  • Like 1



User Feedback

Recommended Comments

17 hours ago, crytzd3x said:

how can i install it ?

i have read the txt but i have no plan.



Custom Notification System installation steps:
    1. Copypaste the source.sqf to the root of your mission, in the init.sqf in the root of your mission add 
[] execVM "source.sqf";


    2. Use this three SQF code templates if you need to build your own messages:

        ["Your template text here",false,15,'YourTitleHere'] spawn DT_fnc_notificationSystem;
        ["Your template text here that is longer than usual"] spawn DT_fnc_notificationSystem;
        ["This is a big warning message here, be sure to not avoid it in order to play!",true,30] spawn DT_fnc_notificationSystem;

        FUNCTION ARGUMENTS EXPLAINED:
            Text - STRING
            Error - BOOL (Optional, default: false)
            Duration(s) - NUMBER (Optional, default: 15)
            TitleText - STRING (Optional, default: "ArmaServicesNET")

    3. Simple installation done.
 

Edited by Raul125

Share this comment


Link to comment
Share on other sites
where do I have to set it so that it shows, for example, not removed from the gerage with the notifaction system

Share this comment


Link to comment
Share on other sites
1 hour ago, crytzd3x said:

where do I have to set it so that it shows, for example, not removed from the gerage with the notifaction system

For example if the code is;

if ((lbCurSel 2802) isEqualTo -1) exitWith {hint localize "STR_Global_NoSelection"};

You will make it look like this;

if ((lbCurSel 2802) isEqualTo -1) exitWith {["You didn't select anything.",false,15,'Nothing Selected!'] spawn DT_fnc_notificationSystem;

 

Share this comment


Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
×

Important Information

Pleas read and accept our Terms of Use, Privacy Policy and Guidelines.

The popup will be closed in 5 seconds...