Jump to content

Gasoline Storage Problem


Recommended Posts

21 hours ago, GraveYard said:

open Config_Master.hpp and find

pump_service = false;
change to:
pump_service = true;

 

That's not what I meant, but thank you anyway.

I cannot supply fuel to gas stations by truck.

Link to comment
Share on other sites

On 10/11/2023 at 1:31 PM, MaviS said:

That's not what I meant, but thank you anyway.

I cannot supply fuel to gas stations by truck.

1. Are you on a modded map or on Altis?

2. Are you using anyone of these:

"C_Van_01_fuel_F","I_Truck_02_fuel_F","B_Truck_01_fuel_F"

If your on a modded map or using a different truck you need to edit the following code inside fn_vInteractionMenu.sqf  to fit your server.

if (typeOf (_curTarget) in ["C_Van_01_fuel_F","I_Truck_02_fuel_F","B_Truck_01_fuel_F"] && _curTarget in life_vehicles) then {
            if (!isNil {_curTarget getVariable "fuelTankWork"}) then {
                _Btn3 ctrlSetText localize "STR_FuelTank_Stop";
                _Btn3 buttonSetAction "life_vInact_curTarget setVariable [""fuelTankWork"",nil,true]; closeDialog 0;";
                _Btn3 ctrlShow true;
            } else {
                if (count (nearestObjects [_curTarget, ["Land_FuelStation_Feed_F","Land_fs_feed_F"], 15]) > 0) then {
                    _Btn3 ctrlSetText localize "STR_FuelTank_Supply";
                    _Btn3 buttonSetAction "[life_vInact_curTarget] spawn life_fnc_fuelSupply";
                    _Btn3 ctrlShow true;
                }else{
                    {
                        if (player distance (getMarkerPos _x) < 20) exitWith {
                            _Btn3 ctrlSetText localize "STR_FuelTank_Store";
                            _Btn3 buttonSetAction "[life_vInact_curTarget] spawn life_fnc_fuelStore";
                            _Btn3 ctrlShow true;
                        };
                    } forEach ["fuel_storage_1","fuel_storage_2"];
                };
            };
        };

You also need to put fuel in the tanks not just the trucks and you do this by the fuel missions. 

Edited by GraveYard
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.