How i can make that only hero with =>5000 humanity can get in?
///////////////////////////////////////////////////////////////////////////
if ( cursorTarget isKindOf "Infostand_1_EP1" && (player distance cursorTarget) < 2 ) then {
if (s_player_bunker < 0) then {
s_player_bunker = player addaction[("<t color=""#0000ff"">" + ("In den Bunker") +"</t>"),"fixes\actions\bunkerin.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_bunker;
s_player_bunker = -1;
};
if ( cursorTarget isKindOf "Infostand_2_EP1" && (player distance cursorTarget) < 2 ) then {
if (s_player_bunkero < 0) then {
s_player_bunkero = player addaction[("<t color=""#0000ff"">" + ("Lass mich raus!!!") +"</t>"),"fixes\actions\bunkerout.sqf","",5,false,true,"", ""];
};
} else {
player removeAction s_player_bunkero;
s_player_bunkero = -1;
};
///////////////////////////////////////////////////////////////////////////