Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Land_GasTank_01_yellow_F
- //deleteVehicle FLASCHE;
- //deleteVehicle FLASCHE;
- _Platzieren = 0;
- _house = cursorObject;
- if (!isNull _house && _house isKindOf "House_F" && {player distance _house < 20}) then{ _Platzieren = 1;
- if(([player] call life_fnc_PlayerInBuilding)) then { _Platzieren = 1;
- if(!(_house in life_vehicles) OR isNil {_house getVariable "house_owner"}) then { _Platzieren = 0; ["Nur in deinem Haus!",true,"fast"] call life_fnc_NachrichtSys;
- } else { _Platzieren = 1;};
- } else {_Platzieren = 0; ["Du bist in keinem Haus!",true,"fast"] call life_fnc_NachrichtSys;};
- } else {_Platzieren = 0; ["Du bist in keinem Haus oder zu weit entfernt!",true,"fast"] call life_fnc_NachrichtSys;};
- if (_Platzieren == 0) exitWith {["Abgebrochen",true,"fast"] call life_fnc_NachrichtSys;};
- if(isNil {MF_CrystalPlaced}) then {
- MF_CrystalPlaced = 0;
- };
- if (MF_CrystalPlaced == 1) exitWith {["Du kannst nur einen Methylamin Platzieren!",true,"fast"] call life_fnc_NachrichtSys;};
- MF_CrystalPlaced = MF_CrystalPlaced + 1;
- player playMoveNow "AinvPercMstpSnonWnonDnon_Putdown_AmovPercMstpSnonWnonDnon";
- waitUntil{animationState player != "AinvPercMstpSnonWnonDnon_Putdown_AmovPercMstpSnonWnonDnon";};
- [false,"methylamin",1] call life_fnc_handleInv;
- _POSI = getPosATL player;
- _FLASCHE = "Land_GasTank_01_yellow_F" createVehicle _POSI;
- _FLASCHE allowDamage false;
- _FLASCHE enableSimulation false;
- _FLASCHE setPos (_POSI vectorAdd [0,-0.6,0]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement