Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //Written by beta
- //Check if player is on a frequency
- private ["_freq", "_flag"];
- _freq = _this select 0;
- _flag = false;
- if (alive player) then
- {
- if ([player] call acre_api_fnc_hasRadio) then
- {
- if ((([] call acre_api_fnc_getCurrentRadioState) select 0) == _freq) then
- {
- _flag = true;
- };
- };
- };
- _flag
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement