snakeplissken 96 Posted November 5, 2015 Hello! Can anyone help me to turn off the display of "Kill and Death" by pressing the key "P"? I do not want That a person KNOW AND NOT dead or. Hosted mission without my PC Server OU. And thank you to anyone who can help me. ^ _ ^ I'm sorry my English by Google. Share this post Link to post Share on other sites
jshock 513 Posted November 5, 2015 You may want to read some of the rules here before posting in another language. But to answer your question: (findDisplay 46) displayAddEventHandler [ "KeyDown", { _handled = false; if ((_this select 1) in actionKeys "networkStats") then { _handled = true; }; _handled; } ]; Share this post Link to post Share on other sites
Kerc Kasha 102 Posted November 5, 2015 https://community.bistudio.com/wiki/disableDebriefingStats or: https://community.bistudio.com/wiki/enableDebriefingStats so: enableDebriefingStats [0, 0, 0, 0]; Share this post Link to post Share on other sites
snakeplissken 96 Posted November 5, 2015 Rápido Você PODE Querer ler algumas das Regras here os antes de postar em Outro idioma. Mas parágrafo responder uma pergunta SUA: (findDisplay 46) displayAddEventHandler [ "KeyDown", { _handled = false; if ((_isso selecionar 1) em actionKeys "networkStats"), em SEGUIDA, { _handled = true; }; _handled; } ]; Sorry, I did not want to break rules :( Put the time one question here Translated, the Nagevagor Chrome ONLY translate What I thought was in English, because I pasted the text wrong here. It was unintentionally sorry.his script is within the init.sqf file? :( And thanks for the reply, I will test When I get back from work. ;) Share this post Link to post Share on other sites
jshock 513 Posted November 5, 2015 Yea, make a file called then initPlayerLocal.sqf and put it there. Share this post Link to post Share on other sites
gagi2 50 Posted August 14, 2016 problem is... you still can open it when you are dead... and it stays open when you respawn... and then you cant close it anymore because the key is blocked... had this problem on our koth server lately... i have removed it again for now... maybe someone has a solution for that... Share this post Link to post Share on other sites
killzone_kid 1330 Posted August 14, 2016 showScoretable 0;Try that 1 Share this post Link to post Share on other sites
gagi2 50 Posted August 15, 2016 tried that in init.sqf but didnt work... Share this post Link to post Share on other sites
cuel 25 Posted August 15, 2016 NetStats=0; in your server difficulty https://community.bistudio.com/wiki/server.armaprofile Share this post Link to post Share on other sites
killzone_kid 1330 Posted August 15, 2016 tried that in init.sqf but didnt work... Works fine for me, tried it on dedi just now Share this post Link to post Share on other sites
killzone_kid 1330 Posted August 15, 2016 NetStats=0; in your server difficulty https://community.bistudio.com/wiki/server.armaprofile no such thing with new difficulty. Instead there is scoreTable = 0; Share this post Link to post Share on other sites
gagi2 50 Posted August 16, 2016 ok i have put it in the initPlayerLocal.sqf now it works... maybe it was done to early? is this one of these functions which needs to be executed after the mission is fully started? like enableEnvironment for example? killzone_kid.... you are the man... like always ^^ Share this post Link to post Share on other sites
gagi2 50 Posted August 20, 2016 NetStats=0; in your server difficulty https://community.bistudio.com/wiki/server.armaprofile since we got so many new changes to these cfgs i have lost track completely... tried some changes... didnt work... whenever you start a new server from scratch you should get a default cfg... but this default cfg which is created has only a few lines and nothing about these changes to find... maybe someone who has a complete cfg for this could share it or BIS could provide us with this stuff... would be very helpful i guess... Share this post Link to post Share on other sites
mallinga 4 Posted March 22, 2022 Hi guys, I want to add a mission parameter option for players: "disable or enable score table" I came up with this: description.ext: class Params { class ScoreTable { title = "Score Table"; values[] = {0, 1}; texts[] = {"Disabled", "Enabled"}; default = 1; file = "params\setScoreTable.sqf"; }; }; setScoreTable.sqf: if (isServer) then { _scoreTable = param [0,1,[999]]; if (_scoreTable == 0) then {missionNamespace setVariable ["BIS_scoreTable",0];}; if (_scoreTable == 1) then {}; }; init.sqf and onPlayerRespawn.sqf: if (hasInterface) then { sleep 0.5; if (missionNamespace getVariable "BIS_scoreTable" == 0) then {showScoretable 0}; }; It works when mission is hosted localy, but NOT on dedicated server. WHY?? Any solution for dedi? Share this post Link to post Share on other sites