xym_modding 0 Posted December 8, 2021 I'm currently editing my trainings mission with some spawning and admin management stuff and i noticed a new error that pops up when the mission is started. params["_player"]; if (!(isNull (findDisplay 999))) exitWith { closeDisplay 2; }; createDialog "adminMenu"; The code is from my openMenu function and the above mentioned error is thrown at line 3. Can't really tell where the issue lies, i already tried to remove the semicolon at "closeDisplay 2" but the result is the same! Share this post Link to post Share on other sites
UnDeaD. 82 Posted December 8, 2021 Hi, i'm not experienced with display stuff, but i saw on the wiki that closeDisplay requires(?) a parameter in front of it (display closeDisplay exitCode). Not sure, if that causes the problem, i'm just guessing. 1 Share this post Link to post Share on other sites
Harzach 2517 Posted December 8, 2021 There are also invisible characters in your code: Delete the red dots. 2 Share this post Link to post Share on other sites