Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //ADD THIS PART TO SERVER_AIRRAID//MMMYUM//ADD after _city is defined.
- /*
- AirraidPlayerMsg = _city; publicVariable "AirraidPlayerMsg";
- */
- //Radio
- private ["_playerRadio","_city","_posPlayers"];
- _city = AirraidPlayerMsg;
- _posPlayers = playableUnits;
- {
- if (isPlayer _x) then {
- _playerRadio = "ItemRadio" in items _x;
- if (_playerRadio) then {
- cuttext [format["TEST DIAG 1 WARNING! AIRRAID in"], "PLAIN DOWN"];//not sure about cuttext
- sleep 10;
- cuttext [format["TEST DIAG 2 WARNING! AIRRAID in" + _city], "PLAIN DOWN"];//not sure about cuttext
- sleep 10;
- cuttext [format["TEST DIAG 3 If you are in the area evacuate immediately or face certain death!"], "PLAIN DOWN"];//might execute for every client, or none
- };
- };
- } forEach _posPlayers;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement