Bekomme folgenden Fehler:
Code
case 39: {
if ((isNull(findDisplay 20000>
15:54:34 Error position: <case 39: {
if ((isNull(findDisplay 20000>
15:54:34 Error Fremdfehler: Invalid switch block
15:54:34 File core\functions\fn_keyHandler.sqf [life_fnc_keyHandler], line 121
15:54:34 Error in expression <];
_handled = true;
};
};
};
true;
};
case 39: {
if ((isNull(findDisplay 20000>
15:54:34 Error position: <case 39: {
if ((isNull(findDisplay 20000>
15:54:34 Error Fremdfehler: Invalid switch block
15:54:34 File core\functions\fn_keyHandler.sqf [life_fnc_keyHandler], line 121
Alles anzeigen
Hier ist mal case :
Code
if (life_container_active) then {
switch (_code) do {
case 57: {
[] spawn life_fnc_placestorage;
if (!_shift && life_barrier_active) then {
0 spawn life_fnc_placeablesPlaceComplete;
};
if (isNil "jumpActionTime") then {jumpActionTime = 0;};
if (_shift && {!(animationState player isEqualTo "AovrPercMrunSrasWrflDf")} && {isTouchingGround player} && {stance player isEqualTo "STAND"} && {speed player > 2} && {!life_is_arrested} && {((velocity player) select 2) < 2.5} && {time - jumpActionTime > 1.5}) then {
if (life_barrier_active) then { [true] call life_fnc_placeableCancel; };
jumpActionTime = time; //Update the time.
[player] remoteExec ["life_fnc_jumpFnc",RANY]; //Global execution
_handled = true;
};
};
};
true;
};
case 39: {
if ((isNull(findDisplay 20000)) && (playerSide in ([west,independent]))) then {
0 spawn life_fnc_placeablesMenu;
_handled = true;
};
_handled = true;
};
Alles anzeigen