Guten Tag,
Seit einigen Tagen bin ich am rumtüfteln woran es liegen kann das ich keine Fahrzeuge in dem Medic Shop kaufen kann. Der Server Läuft auf Altis V5.0.0
Config liegt bei.
Ich würde mich um Hilfe freuen .
Init vom Shop
this enableSimulation false; this allowDamage false; this addAction[format ["%1 ($%2)",localize (getText(missionConfigFile >> "Licenses" >> "mAir" >> "displayName")), [(getNumber(missionConfigFile >> "Licenses" >> "mAir" >> "price"))] call life_fnc_numberText],life_fnc_buyLicense,"mAir",0,false,false,"",' !license_med_mAir && playerSide isEqualTo independent ',5]; this addAction[localize"STR_MAR_EMS_Item_Shop",life_fnc_weaponShopMenu,"med_basic",1.5,true,true,"","true",5]; this addAction[localize"STR_MAR_EMS_Clothing_Shop",life_fnc_clothingMenu,"med_clothing",1.5,true,true,"","true",5]; this addAction[localize"STR_MAR_W_E_Vehicle Shop",life_fnc_vehicleShopMenu,["med_shop","independent","med_car_1","med","Kavala Hospital"],1.5,true,true,"","true",5]; this addAction[localize"STR_MAR_Helicopter_Shop", life_fnc_vehicleShopMenu,["med_air_hs","independent","medic_spawn_1","med","Kavala Hospital"],1.5,true,true,"","true",5]; this addAction[localize"STR_MAR_W_Car_Garage", { if (life_HC_isActive) then { [getPlayerUID player,playerSide,"Car",player] remoteExecCall ["HC_fnc_getVehicles",HC_Life]; } else { [getPlayerUID player,playerSide,"Car",player] remoteExecCall ["TON_fnc_getVehicles",2];}; createDialog "Life_impound_menu"; disableSerialization; ctrlSetText[2802,"Fetching Vehicles...."]; life_garage_sp = "med_car_1"; life_garage_type = "Car"; },"",0,false,false,"",'playerSide isEqualTo independent',5]; this addAction[localize"STR_MAR_Helicopter_Garage", { if (life_HC_isActive) then { [getPlayerUID player,playerSide,"Air",player] remoteExecCall ["HC_fnc_getVehicles",HC_Life]; } else { [getPlayerUID player,playerSide,"Air",player] remoteExecCall ["TON_fnc_getVehicles",2];}; createDialog "Life_impound_menu"; disableSerialization; ctrlSetText[2802,"Fetching Vehicles...."]; life_garage_sp = "medic_spawn_1"; life_garage_type = "Air"; },"",0,false,false,"",'playerSide isEqualTo independent ',5]; this addAction[localize"STR_MAR_Store_vehicle_in_Garage",life_fnc_storeVehicle,"",0,false,false,"",'!life_garage_store',5]; this addAction[localize"STR_Shops_Market",life_fnc_virt_menu,"med_market",1.5,false,false,"",' isNull objectParent player && player distance _target < 5 && playerSide isEqualTo independent ',5]; this setObjectTextureGlobal [0,"textures\medic_uniform.jpg"];
und
Vehicle Config
class med_shop {
side = "med";
conditions = "";
vehicles[] = {
{ "B_Quadbike_01_F", "", 10000, 5000, "call life_medlevel >= 1" },
{ "C_Offroad_01_F", "", 40000, 20000, "call life_medlevel >= 1" },
{ "C_SUV_01_F", "", 65000, 32500, "call life_medlevel >= 2" },
{ "C_Van_02_medevac_F", "", 95000, 47500, "call life_medlevel >= 2" },
{ "I_C_Boat_Transport_02_F", "", 20000, 10000, "call life_medlevel >= 2" },
{ "C_Hatchback_01_sport_F", "", 110000, 55000, "call life_medlevel >= 3" },
{ "O_Truck_03_medical_F", "", 250000, 125000, "call life_medlevel >= 3" },
{ "I_MRAP_03_F", "", 300000, 150000, "call life_medlevel >= 3" },
{ "B_MRAP_01_F", "", 375000, 170000, "call life_medlevel >= 5" }
};
};
class med_air_hs {
side = "med";
conditions = "";
vehicles[] = {
{ "B_Heli_Light_01_F","", 175000, 90000, "call life_medlevel >= 4" },
{ "O_Heli_Light_02_dynamicLoadout_F", "", 375000, 150000, "call life_medlevel >= 4" },
{ "B_Heli_Transport_01_F", "", 950000, 450000, "call life_medlevel >= 5" }
};
};
Vielen Dank fürs Zeit nehmen!