So ich habe Komplett Altis Life in Ace Eingebaut jetzt möchte ich natürlich das wenn man Windows drückt bei einem Fahrzeug das interaction nicht mehr öfnnet
in fn_actionKeyHandler steht drinne
Spoiler anzeigen
//It's a vehicle! open the vehicle interaction key!
if (_isVehicle) then {
if (!dialog) then {
if (player distance _curObject < ((boundingBox _curObject select 1) select 0)+2 && (!(player getVariable ["restrained",false])) && (!(player getVariable ["playerSurrender",false])) && !life_isknocked && !life_istazed) then {
[_curObject] call life_fnc_vInteractionMenu;
};
};
} else {
//OK, it wasn't a vehicle so let's see what else it could be?
if ((typeOf _curObject) in _miscItems) then {
[_curObject,player,false] remoteExecCall ["TON_fnc_pickupAction",RSERV];
} else {
//It wasn't a misc item so is it money?
if ((typeOf _curObject) isEqualTo "Land_Money_F" && {!(_curObject getVariable ["inUse",false])}) then {
[_curObject,player,true] remoteExecCall ["TON_fnc_pickupAction",RSERV];
};
};
};
Ich muss ja nur die Vehicle definition entfernen also so
//OK, it wasn't a vehicle so let's see what else it could be?
if ((typeOf _curObject) in _miscItems) then {
[_curObject,player,false] remoteExecCall ["TON_fnc_pickupAction",RSERV];
} else {
//It wasn't a misc item so is it money?
if ((typeOf _curObject) isEqualTo "Land_Money_F" && {!(_curObject getVariable ["inUse",false])}) then {
[_curObject,player,true] remoteExecCall ["TON_fnc_pickupAction",RSERV];
};
};
Oder Irre