Add files via upload

This commit is contained in:
worldwidesorrow
2020-07-29 15:24:57 -05:00
committed by GitHub
parent 99853431f1
commit f9c5f70799

View File

@@ -0,0 +1,11 @@
// This function simulates turning "ItemRadio" on and off to accept or deny local messaging of type "radio".
if(player getVariable["radiostate",true]) then {
localize "str_actions_radio_off" call dayz_rollingMessages;
player setVariable["radiostate",false];
playSound "Switch_On_Off";
} else {
localize "str_actions_radio_on" call dayz_rollingMessages;
player setVariable["radiostate",true];
playSound "Switch_On_Off";
};