if(isServer)exitWith{};
private ["_target", "_message","_rang","_rankA","_coplevel","_mediclevel","_id","_Driver","_Bike","_Truck","_head","_admin"];
if(vehicle player != player )exitWith{};
_ziel = cursorTarget;
if(isNull _ziel) exitWith {};
if(!(_ziel isKindOf "Man")) exitWith {};
if(!(alive _ziel)) exitWith {};
switch(playerSide)do{
case west:{
switch (call life_coplevel) do{
case 1: { _rang = "";};
case 2: { _rang = "";};
case 3: { _rang = "";};
case 4: { _rang = "";};
case 5: { _rang = "";};
case 6: { _rang = "";};
case 7: { _rang = "";};
case 8: { _rang = "";};
case 9: { _rang = "";};
case 10: { _rang = "";};
case 11: { _rang = "";};
case 12: { _rang = "";};
case 13: { _rang = "";};
default { _rang = "Error";};
};
_message = format["%1
%2
", name player, _rang];
[player,_message] remoteExec ["life_fnc_ausweissehen",_ziel];
};
case independent:{
switch (call life_mediclevel) do{
case 1: { _rang = "";};
case 2: { _rang = "";};
case 3: { _rang = "";};
case 4: { _rang = "";};
case 5: { _rang = "";};
case 6: { _rang = "";};
case 7: { _rang = "";};
case 8: { _rang = "";};
case 9: { _rang = "";};
default { _rang = "Error";};
};
_message = format["%1
%2
", name player, _rang];
[player,_message] remoteExec ["life_fnc_ausweissehen",_ziel];
};
case east:{
switch (call life_FDlevel) do{
case 1: { _rang = "";};
case 2: { _rang = "";};
case 3: { _rang = "";};
case 4: { _rang = "";};
case 5: { _rang = "";};
case 6: { _rang = "";};
case 7: { _rang = "";};
case 8: { _rang = "";};
case 9: { _rang = "";};
default { _rang = "Error";};
};
_message = format["%1
%2
", name player, _rang];
[player,_message] remoteExec ["life_fnc_ausweissehen",_ziel];
};
case civilian:{
if(playerSide == civilian)then{
_head = face player;
switch (_head) do{
case "AfricanHead_01": {_id = "";};
case "AfricanHead_02": {_id = "";};
case "AfricanHead_03": {_id = "";};
case "AsianHead_A3_01": {_id = "";};
case "AsianHead_A3_02": {_id = "";};
case "AsianHead_A3_03": {_id = "";};
case "Cheung": {_id = "";};
case "COREV_AsianHead_A3_04": {_id = "";};
case "COREV_AsianHead_A3_05": {_id = "";};
case "COREV_AsianHead_A3_06": {_id = "";};
case "COREV_AsianHead_A3_07": {_id = "";};
case "COREV_AsianHead_A3_08": {_id = "";};
case "COREV_AsianHead_A3_09": {_id = "";};
case "GreekHead_A3_01": {_id = "";};
case "GreekHead_A3_02": {_id = "";};
case "GreekHead_A3_03": {_id = "";};
case "GreekHead_A3_04": {_id = "";};
case "GreekHead_A3_05": {_id = "";};
case "GreekHead_A3_06": {_id = "";};
case "GreekHead_A3_07": {_id = "";};
case "GreekHead_A3_08": {_id = "";};
case "GreekHead_A3_09": {_id = "";};
case "GreekHead_A3_10_a": {_id = "";};
case "GreekHead_A3_10_l": {_id = "";};
case "GreekHead_A3_10_sa": {_id = "";};
case "ice123_female_bare": {_id = "";};
case "ice123_female_hair": {_id = "";};
case "Mason": {_id = "";};
case "Mason_camo": {_id = "";};
case "Mason_Rigged": {_id = "";};
case "Mason_scars": {_id = "";};
case "Mason_v2": {_id = "";};
case "Oakes": {_id = "";};
case "Oakes_v2": {_id = "";};
case "PersianHead_A3_01": {_id = "";};
case "PersianHead_A3_02": {_id = "";};
case "PersianHead_A3_03": {_id = "";};
case "PersianHead_A3_04_a": {_id = "";};
case "PersianHead_A3_04_l": {_id = "";};
case "PersianHead_A3_04_sa": {_id = "";};
case "Quereshi": {_id = "";};
case "Quereshi_v2": {_id = "";};
case "Sean_Connery": {_id = "";};
case "Smith": {_id = "";};
case "Smith_v2": {_id = "";};
case "Tyler": {_id = "";};
case "Tyler_scars": {_id = "";};
case "WhiteHead_01": {_id = "";};
case "WhiteHead_02": {_id = "";};
case "WhiteHead_03": {_id = "";};
case "WhiteHead_04": {_id = "";};
case "WhiteHead_05": {_id = "";};
case "WhiteHead_06": {_id = "";};
case "WhiteHead_07": {_id = "";};
case "WhiteHead_08": {_id = "";};
case "WhiteHead_09": {_id = "";};
case "WhiteHead_10": {_id = "";};
case "WhiteHead_11 ": {_id = "";};
case "WhiteHead_12": {_id = "";};
case "WhiteHead_13": {_id = "";};
case "WhiteHead_14": {_id = "";};
case "WhiteHead_15": {_id = "";};
case "WhiteHead_16": {_id = "";};
case "WhiteHead_17": {_id = "";};
case "WhiteHead_18": {_id = "";};
case "WhiteHead_19": {_id = "";};
case "WhiteHead_20": {_id = "";};
case "WhiteHead_21": {_id = "";};
case "WhiteHead_22_a": {_id = "";};
case "WhiteHead_22_l": {_id = "";};
case "WhiteHead_22_sa": {_id = "";};
default {_id = "";};
};
_Driver = if(license_civ_driver) then {"";} else {"
"};
_Bike = if(license_civ_bike) then {"";} else {"
"};
_Truck = if(license_civ_trucking) then {"";} else {"
"};
_message = format["%1
%2
%3
%4
%5
",name player,_id,_Driver,_Bike,_Truck];
[player,_message] remoteExec ["life_fnc_ausweissehen",_ziel];
};
};
};
["Ausweis erfolgreich gezeigt",false,"fast"] call bluetype_fnc_callHint;