Jump to content
Sign in to follow this  
KaanE

Altis life 5.0 / How to disable display

Recommended Posts

Display 151 disable or pressure should be kicked out of the game. thanks...

Edited by KaanE

Share this post


Link to post
Share on other sites

Also this might work, but I'm not sure! Have a play with it, and test it.

 

private _naughtyArrayIDD = ["YOUR IDD HERE #1", "YOUR IDD HERE #2", "YOUR IDD HERE #3", "..."]; // List all of the un-wanted IDD's
{
if (findDisplay _x) then {
_x closeDisplay 0;
closeDialog 0;closeDialog 0;closeDialog 0;
};
} forEach _naughtyArrayIDD;
  • Thanks 1

Share this post


Link to post
Share on other sites

İ will put it in init.sqf and try it. what it's like to kick when you click.thank you...

Share this post


Link to post
Share on other sites

that would not work, this requires a loop or eventhandler. It needs to be called from somewhere.

 

Im pretty sure kicking from script is not possible?

You can always use the code: failMission ""; (needs to be defined in description.ext

 

EDIT:

just read on some forums, try and check if you can use this:

("#kick " + profileName) remoteExec ["serverCommand", 2];

Edited by AngryHerring ッ ®™
  • Like 1

Share this post


Link to post
Share on other sites
2 hours ago, AngryHerring ッ ®™ said:

that would not work, this requires a loop or eventhandler. It needs to be called from somewhere.

 

Im pretty sure kicking from script is not possible?

You can always use the code: failMission ""; (needs to be defined in description.ext

 

EDIT:

just read on some forums, try and check if you can use this:

("#kick " + profileName) remoteExec ["serverCommand", 2];

Error:

22:54:39 Error in expression <leName) remoteExec ["serverCommand", 2];
};
};>
22:54:39   Error position: <
};
};>
22:54:39   Error Invalid number in expression
22:54:39 File core\functions\fn_escInterupt.sqf [life_fnc_escInterupt], line 146
22:54:39 Error in expression <leName) remoteExec ["serverCommand", 2];
};

Code:

waitUntil {isNull (findDisplay 151) || {!alive player}};
    if (!isNull (findDisplay 151) && {!alive player}) then {
        ("#kick " + profileName) remoteExec ["serverCommand", 2];
    };

Share this post


Link to post
Share on other sites
Guest
This topic is now closed to further replies.
Sign in to follow this  

×
×
  • Create New...