Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- File: fn_TaskForce.sqf
- */
- [] spawn
- {
- waitUntil {life_session_completed};
- if ((call life_adminlevel) != 0) exitWith {};
- while {true} do
- {
- _server = [] call TFAR_fnc_getTeamSpeakServerName;
- _channel = [] call TFAR_fnc_getTeamSpeakChannelName;
- if(!([] call TFAR_fnc_isTeamSpeakPluginEnabled)) then
- {
- while {!([] call TFAR_fnc_isTeamSpeakPluginEnabled)}
- do
- {
- cutText["En attente de validation du plugin Teamspeak Task Force Radio. Si cela prend du temps veuillez vérifier que votre plugin est activer sur le Teamspeak.","BLACK"];
- sleep 8;
- };
- cutText["","PLAIN"];
- };
- if(_server != "[FR] Altis Life Max v2.2 | Mods | TFR | Armée de Terre" or _channel != "EN JEU TASK FORCE RADIO") then
- {
- while {(([] call TFAR_fnc_getTeamSpeakServerName) != "[FR] Altis Life Max v2.2 | Mods | TFR | Armée de Terre") || (([] call TFAR_fnc_getTeamSpeakChannelName) != "EN JEU TASK FORCE RADIO")}
- do
- {
- cutText["Mauvaise présence dans le canal Task Force Radio.","BLACK",0,true];
- sleep 8;
- };
- cutText["","PLAIN"];
- };
- sleep 5;
- };
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement