Nikolai-F 0 Posted March 8, 2022 I have created a simple menu. I want every player to be able to bring it up and use it with a scroll wheel when they enter the server. I put addAction into initPlayerLocal.sqf and added a hint as a run marker. But when I enter the server I get the message but no option to add. I ran my addAction code in the debug console and it proved that it works. How do I get the option to be added automatically for each player entering the server? Share this post Link to post Share on other sites
Nikolai-F 0 Posted March 8, 2022 player addAction ["open Menu",{execVM "opmenu.sqf"}]; hint "test"; this is initPlayerLocal.sqf createDialog "dialogTest"; this is opmenu.sqf I have tested the hud code via the debug console and it works fine. I can receive the "test" message normally. Please let me know if you need any other code, I'm a newbie, so please forgive me. Share this post Link to post Share on other sites
Nikolai-F 0 Posted March 8, 2022 13 minutes ago, Harzach said: 分享你的代码。 Incidentally, I use hpp to draw hud. i don't know if this affects other functions. Share this post Link to post Share on other sites