//Author: PierreAmyf if(isServer)exitWith{}; private["_ziel", "_rang", "_marke", "_org", "_message", "_rang","_name"]; if(vehicle player != player )exitWith{}; if(isNull _ziel) then {_ziel = player;}; _ziel = cursorTarget; if(!(_ziel isKindOf "Man")) then {_ziel = player;}; if(!(alive _ziel)) then {_ziel = player;}; if(player distance _ziel > 6) exitWith {}; switch(playerSide)do{ case west:{ switch (call life_coplevel) do{ case 1: { _rang = "Trainee"; }; case 2: { _rang = "Recruit"; }; case 3: { _rang = "Patrol Officer"; }; case 4: { _rang = "Police Officer"; }; case 5: { _rang = "Detecitve"; }; case 6: { _rang = "Sergeant"; }; case 7: { _rang = "1st Sergeant"; }; case 8: { _rang = "Lieutnant"; }; case 9: { _rang = "1st Lieutnant"; }; case 10: { _rang = "Captain"; }; case 11: { _rang = "1st Captain"; }; case 12: { _rang = "Commander"; }; case 13: { _rang = "Deputy Chief"; }; case 14: { _rang = "Assistant Chief"; }; default { _rank = "Error";}; }; _marke = "marke_cop"; _org = "Pacific Island Police Department"; }; /* case east:{ switch (call life_adaclevel) do{ case 1: { _rang = "ADAC Praktikant"; }; case 2: { _rang = "ADAC Azubi"; }; case 3: { _rang = "ADAC Geselle"; }; case 4: { _rang = "ADAC Techniker"; }; case 5: { _rang = "ADAC Meister"; }; case 6: { _rang = "ADAC Co.Chef"; }; case 7: { _rang = "ADAC Chef"; }; case 8: { _rang = "Leitung"; }; }; _marke = "marke_ziv"; _org = "ADAC Altis"; }; */ case independent:{ switch (call life_mediclevel) do{ case 1: { _rang = "Ersthelfer"; }; case 2: { _rang = "Rettungshelfer"; }; case 3: { _rang = "Rettungsanitäter"; }; case 4: { _rang = "Notfallsanitäter"; }; case 5: { _rang = "Notarzt"; }; case 6: { _rang = "Lehrrettungsassistent"; }; case 7: { _rang = "ÄrztlicherLeiter"; }; default { _rank = "Error";}; }; _marke = "marke_ziv"; _org = "Pacific Island"; }; case civilian:{ if(playerSide == civilian)then{ _rang = "Zivilist"; _marke = "marke_ziv"; _org = "Pacific Island"; }else{ _rang = "Zivilist"; _marke = "marke_abi"; _org = "Pacific Altis"; }; }; }; _message = format["

%2
%3
%4",_marke, name player, _rang, _org]; [player,_message] remoteExec ["life_fnc_Ausweissehen",_ziel];