Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (getPlayerUID player isEqualTo "76561197982908519") exitwith {};
- if (getPlayerUID player isEqualTo "76561198163838987") exitwith {};
- if (getPlayerUID player isEqualTo "76561198122750148") exitwith {};
- if (isNil "TFAR_fnc_isTeamSpeakPluginEnabled") exitwith {
- 999999 cutText ["Task Force Radio is not running on your computer. Please re-sync and retry","BLACK FADED"];
- 999999 cutFadeOut 99999999;
- if (player getvariable "taskfr") then {
- player setvariable ["taskfr",false,true];
- };
- };
- _TFenabled = [] call TFAR_fnc_isTeamSpeakPluginEnabled;
- if (!(_TFenabled)) then {
- while {!([] call TFAR_fnc_isTeamSpeakPluginEnabled)} do {
- titleText ["Task-Force-Radio ist nicht auf deinem Computer installiert.", "BLACK"];
- sleep 2;
- if (player getvariable "taskfr") then {
- player setvariable ["taskfr",false,true];
- };
- };
- };
- Dream_TFEnabled = true;
- Dream_onTsServer = "[GER] LinkedOn! 3.0 | ModdedFunRP | 2Mrd$.#MRFRP" == (call TFAR_fnc_getTeamSpeakServerName);
- Dream_onChannel = "TaskForceRadio" == (call TFAR_fnc_getTeamSpeakChannelName);
- titleText ["== TFAR Erfolgreich Geladen ==","BLACK IN"];
- [] spawn {
- while {true} do {
- _isadmin = false;
- if (!(isNil "life_adminlevel")) then {
- _adminlvl = life_adminlevel call BIS_fnc_parseNumber;
- if (_adminlvl > 0) then {
- _isadmin = true;
- };
- };
- _TFenabled = [] call TFAR_fnc_isTeamSpeakPluginEnabled;
- if ((!(_TFenabled)) && (Dream_TFEnabled)) then {
- if (!(_isadmin)) then {
- titleText ["Bitte aktiviere das TeamSpeak3 Plugin 'Task Force Arma3 Radio' || Einstellungen > Plugins - dort das Plugin aktivieren.", "BLACK"];
- Dream_TFEnabled = false;
- };
- if (player getvariable "taskfr") then {
- player setvariable ["taskfr",false,true];
- };
- };
- _onTsServer = "[GER] LinkedOn! 3.0 | ModdedFunRP | 2Mrd$.#MRFRP" == (call TFAR_fnc_getTeamSpeakServerName); //////////////////////Edit too pls, or dont but it wont work if you dont
- if (!(_onTsServer)) then {
- if (!(_isadmin)) then {
- titleText ["Bitte verbinde dich auf unseren TeamSpeak3 Server: LinkedOn2", "BLACK"];
- Dream_onTsServer = false;
- };
- if (player getvariable "taskfr") then {
- player setvariable ["taskfr",false,true];
- };
- } else {
- if (!(Dream_onTsServer)) then {
- if (!(_isadmin)) then {
- titleText ["Ts3 Server Checked. Willkommen!","BLACK IN"];
- Dream_onTsServer = true;
- };
- if (!(player getvariable "taskfr")) then {
- player setvariable ["taskfr",true,true];
- };
- };
- };
- _onChannel = "[cspacer]β TFAR β" == (call TFAR_fnc_getTeamSpeakChannelName);
- if (!(_onChannel)) then {
- if (!(_isadmin)) then {
- titleText ["Bitte lade das TeamSpeak3 Plugin 'Task Force Arma3 Radio' neu! || Einstellungen -> Plugins -> Reload All", "BLACK"];
- Dream_onChannel = false;
- };
- if (player getvariable "taskfr") then {
- player setvariable ["taskfr",false,true];
- };
- } else {
- if (!(Dream_onChannel)) then {
- titleText ["Ts3 Channel Checked. Willkommen!","BLACK IN"];
- Dream_onChannel = true;
- if (!(player getvariable "taskfr")) then {
- player setvariable ["taskfr",true,true];
- };
- };
- };
- if ((_TFenabled) && (!(Dream_TFEnabled))) then {
- titleText ["Plugin enabled, welcome back!","BLACK IN"];
- Dream_TFEnabled = true;
- if (!(player getvariable "taskfr")) then {
- player setvariable ["taskfr",true,true];
- };
- };
- sleep 2;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement