Garage ne s'affiche pas en civil 3.1.3 - mod


#1

bonjour,

j’ai ajoutés des mods sur mon serveur il y a quelque temps sauf que la comme par hasard le garage des civils ne fonctionne plus seul le garage des flics fonctionne. voici mes fichiers

VehicleWeight

/*

File: fn_vehicleWeightCfg.sqf
Author: Bryan “Tonic” Boardwine

Description:
Master configuration for vehicle weight.
*/
private["_className"];
_className = [_this,0,"",[""]] call BIS_fnc_param;

switch (_className) do
{
case “C_Offroad_01_F”: {65};
case “B_G_Offroad_01_F”: {65};
case “B_Quadbike_01_F”: {25};
case “I_Truck_02_covered_F”: {250};
case “I_Truck_02_transport_F”: {200};
case “C_Hatchback_01_F”: {40};
case “C_Hatchback_01_sport_F”: {45};
case “C_SUV_01_F”: {50};
case “C_Van_01_transport_F”: {100};
case “I_G_Van_01_transport_F”: {100};
case “C_Van_01_box_F”: {150};
case “C_Boat_Civil_01_F”: {85};
case “C_Boat_Civil_01_police_F”: {85};
case “C_Boat_Civil_01_rescue_F”: {85};
case “B_Truck_01_box_F”: {450};
case “B_Truck_01_transport_F”: {325};
case “B_MRAP_01_F”: {65};
case “O_MRAP_02_F”: {60};
case “I_MRAP_03_F”: {58};
case “B_Heli_Light_01_F”: {90};
case “O_Heli_Light_02_unarmed_F”: {210};
case “I_Heli_Transport_02_F”: {375};
case “C_Rubberboat”: {45};
case “O_Boat_Armed_01_hmg_F”: {175};
case “B_Boat_Armed_01_minigun_F”: {175};
case “I_Boat_Armed_01_minigun_F”: {175};
case “B_G_Boat_Transport_01_F”: {45};
case “B_Boat_Transport_01_F”: {45};
case “O_Truck_03_transport_F”: {285};
case “O_Truck_03_covered_F”: {300};
case “O_Truck_03_device_F”: {350};
case “DAR_ChallengerCivWhite”: {_weight = 55;};
case “DAR_ChallengerCivBlack”: {_weight =55;};
case “DAR_ChallengerCivRed”: {_weight = 85;}; //offroad
case “DAR_ChallengerCivOrange”: {_weight = 85;};
case “DAR_Charger_Blue”: {_weight = 75;};
case “DAR_ChargerCiv”: {_weight = 75;};
case “DAR_FusionCiv”: {_weight = 75;};
case “DAR_FusionCivRed”: {_weight = 75;};
case “DAR_FusionCivBlack”: {_weight = 75;};
case “DAR_FusionCivBlue”: {_weight = 75;};
case “DAR_MF1Civ”: {_weight = 75;};
case “DAR_MF1Silver”: {_weight = 75;};
case “DAR_MF1Burgundy”: {_weight = 75;};
case “DAR_MF1Red”: {_weight = 75;};
case “DAR_MF1Orange”: {_weight = 75;};
case “DAR_TahoeCiv”: {_weight = 250;};
case “DAR_TahoeCivRed”: {_weight = 250;};
case “DAR_TahoeCivBlue”: {_weight = 250;};
case “DAR_TahoeCivSilver”: {_weight = 250;};
case “DAR_TahoeCivBlack”: {_weight = 250;};
case “DAR_TaurusCiv”: {_weight = 75;};
case “DAR_TaurusCivBlue”: {_weight = 75;};
case “DAR_TaurusCivBlack”: {_weight = 75;};
case “DAR_ImpalaCiv”: {_weight = 75;};
case “DAR_ImpalaCivA”: {_weight = 75;};
case “DAR_ImpalaCivB”: {_weight = 75;};
case “DAR_ImpalaCivC”: {_weight = 75;};
case “DAR_ImpalaCivD”: {_weight = 75;};
case “DAR_ImpalaCivE”: {_weight = 75;};
case “DAR_ImpalaCivF”: {_weight = 75;};
case “DAR_ImpalaCivG”: {_weight = 75;};
case “Jonzie_96_Impala”: {_weight = 75;};
case “Jonzie_96_Impala_Unmarked”: {_weight = 15;};
case “SAL_77TRANSAMCiv”: {_weight = 75;};
case “SAL_AudiCiv”: {_weight = 80;};
case “SAL_AudiCivSilver”: {_weight = 75;};
case “SAL_AudiCivBlack”: {_weight = 75;};
case “SAL_AudiCivRed”: {_weight = 75;};
case “SAL_IROCCiv”: {_weight = 75;};
case “SAL_IROCCivSilver”: {_weight = 75;};
case “SAL_IROCCivBlack”: {_weight = 75;};
case “SAL_IROCCivBlue”: {_weight = 75;};
case “SAL_IROCCivRed”: {_weight = 75;};
case “DAR_TahoeEMS”: {_weight = 75;};
case “A3L_ChargerBlack”: {_weight = 75;};
case “A3L_ChargerCstm”: {_weight = 75;};
default {-1};
};

VehicleList

#include <macro.h>

/*
File:
Author: Bryan “Tonic” Boardwine

Description:
Master configuration list / array for buyable vehicles & prices and their shop.
*/
private["_shop","_return"];
_shop = [_this,0,"",[""]] call BIS_fnc_param;
if(_shop == “”) exitWith {[]};
_return = [];
switch (_shop) do
{
case “kart_shop”:
{
_return = [
[“C_Kart_01_Blu_F”,15000],
[“C_Kart_01_Fuel_F”,15000],
[“C_Kart_01_Red_F”,15000],
[“C_Kart_01_Vrana_F”,15000]
];
};
case “med_shop”:
{
_return = [
[“C_Offroad_01_F”,10000],
[“DAR_TahoeEMS”,25000],
[“O_Truck_03_medical_F”,45000],
[“B_Truck_01_medical_F”,60000]
];
};

case “med_air_hs”: {
_return = [
[“B_Heli_Light_01_F”,50000],
[“O_Heli_Light_02_unarmed_F”,75000]
];
};

case “civ_car”:
{
_return =
[
[“B_Quadbike_01_F”,2500],
[“C_Hatchback_01_F”,9500],
[“C_Offroad_01_F”,12500],
[“C_SUV_01_F”,35000],
[“C_Van_01_transport_F”,40000],
[“DAR_ImpalaCiv”,20000],
[“DAR_ImpalaCivA”,10000],
[“DAR_ImpalaCivB”,25000],
[“DAR_ImpalaCivC”,30000],
[“DAR_ImpalaCivD”,12000],
[“DAR_ImpalaCivE”,50000],
[“DAR_ImpalaCivF”,78500],
[“DAR_ImpalaCivG”,15000],
[“DAR_FusionCiv”,15500],
[“DAR_FusionCivRed”,10545],
[“DAR_FusionCivBlack”,10000],
[“DAR_FusionCivBlue”,10000],
[“DAR_TahoeCiv”,10000],
[“DAR_TahoeCivRed”,10000],
[“DAR_TahoeCivBlue”,10000],
[“DAR_TahoeCivSilver”,10000],
[“DAR_TahoeCivBlack”,10000],
[“DAR_TaurusCiv”,10000],
[“DAR_TaurusCivBlue”,25000],
[“DAR_TaurusCivBlack”,25000],
[“SAL_IROCCiv”,25000],
[“SAL_IROCCivSilver”,25000],
[“SAL_IROCCivBlack”,25000],
[“SAL_IROCCivBlue”,25000],
[“SAL_IROCCivRed”,25000],
[“Jonzie_96_Impala”,25000],
[“DAR_ChallengerCivBlack”,25000],
[“SAL_AudiCivBlack”,25000],
[“A3L_ChargerBlack”,25000],
[“A3L_ChargerCstm”,25000],
[“Orel_Agora”,70000],
[“Pingas_Monster_black”,100000]
];
};

case “civ_truck”:
{
_return =
[
[“C_Van_01_box_F”,60000],
[“I_Truck_02_transport_F”,75000],
[“I_Truck_02_covered_F”,100000],
[“B_Truck_01_transport_F”,275000],
[“O_Truck_03_transport_F”,200000],
[“O_Truck_03_covered_F”,250000],
[“B_Truck_01_box_F”,350000],
[“O_Truck_03_device_F”,450000]
];
};

case “reb_car”:
{
_return =
[
[“B_Quadbike_01_F”,2500],
[“B_G_Offroad_01_F”,15000],
[“O_MRAP_02_F”,150000],
[“B_Heli_Light_01_F”,325000]
];

if(license_civ_rebel) then
{
_return set[count _return,
[“B_G_Offroad_01_armed_F”,750000]];
};
};

case “cop_car”:
{
_return set[count _return,
[“B_Quadbike_01_F”,0]];
_return set[count _return,
[“C_Offroad_01_F”,0]];
_return set[count _return,
[“DAR_ImpalaPolice”,0]];
_return set[count _return,
[“DAR_CVPIAux”,0]];
_return set[count _return,
[“C_Hatchback_01_F”,0]];
_return set[count _return,
[“DAR_ChargerPolice”,0]];
_return set[count _return,
[“DAR_TahoePolice”,0]];

if(GETC(life_coplevel) > 2) then
{
_return set[count _return,
[“C_SUV_01_F”,0]];
_return set[count _return,
[“DAR_TaurusPolice”,0]];
_return set[count _return,
[“DAR_ExplorerPolice”,0]];
_return set[count _return,
[“SAL_AudiCivBlack”,0]];
_return set[count _return,
[“DAR_ChallengerCivBlack”,0]];
_return set[count _return,
[“ffaa_et_rg31_samson”,0]];
};

if(GETC(life_coplevel) > 3) then
{
_return set[count _return,
[“sfp_wheelchair”,0]];
_return set[count _return,
[“C_Hatchback_01_sport_F”,0]];
_return set[count _return,
[“DAR_TahoePoliceSlick”,0]];
_return set[count _return,
[“DAR_ChargerPoliceStateSlick”,0]];
_return set[count _return,
[“DAR_SWATPolice”,0]];
_return set[count _return,
[“DAR_TahoePoliceSlick”,0]];
_return set[count _return,
[“DAR_ChargerPolice”,0]];
_return set[count _return,
[“DAR_TahoePolice”,0]];
_return set[count _return,
[“DAR_TahoePoliceDet”,0]];
};

if(GETC(life_coplevel) > 4) then
{
_return set[count _return,
[“sfp_wheelchair”,0]];
_return set[count _return,
[“DAR_TahoePoliceSlick”,0]];
_return set[count _return,
[“DAR_ChargerPoliceStateSlick”,0]];
_return set[count _return,
[“I_MRAP_03_hmg_F”,0]];
_return set[count _return,
[“DAR_DAR_02FirebirdSSVPolice”,0]];
_return set[count _return,
[“DAR_ChargerPoliceState”,0]];
_return set[count _return,
[“DAR_ImpalaPoliceDet”,0]];
};
};

case “civ_air”:
{
_return =
[
[“B_Heli_Light_01_F”,253000],
[“O_Heli_Light_02_unarmed_F”,750000]
];
};

case “cop_air”:
{
_return set[count _return,
[“B_Heli_Light_01_F”,75000]];
if(GETC(life_coplevel) > 2) then
{
_return set[count _return,
[“B_Heli_Transport_01_F”,200000]];
};
};

case “cop_airhq”:
{
_return set[count _return,
[“B_Heli_Light_01_F”,75000]];
if(GETC(life_coplevel) > 2) then
{
_return set[count _return,
[“B_Heli_Transport_01_F”,200000]];
_return set[count _return,
[“B_MRAP_01_hmg_F”,750000]];
};
};

case “civ_ship”:
{
_return =
[
[“C_Rubberboat”,5000],
[“C_Boat_Civil_01_F”,22000]
];
};

case “cop_ship”:
{
_return =
[
[“B_Boat_Transport_01_F”,3000],
[“C_Boat_Civil_01_police_F”,20000],
[“B_Boat_Armed_01_minigun_F”,75000],
[“B_SDV_01_F”,100000]
];
};
};

_return;


#2

Drax Tres bizard car quand le magasin Civil ne marche pas le Magasin Cop doit aussi ne pas marcher

Ta définition de ne pas marcher ?


#3

Pink3vil sa prend 40ans pour charger les vehicules défois ca les affiche directement mais la plupart du temps sa ne charge pas


#4

Drax Ta DataBase ! Fait la mise à jour


#5

la mise à jour ? Pink3vil


#6

Drax Avec la nouvelle mise a jour d"Arma 3 la DataBase et les garages sont bug ! Tu as pleins de tutos sur Internet et sur Altisliferpg.com pour ces problemes !


#7

J’en est essayé 1 de youtube mais ça ne marche pas… Et sur altisrpg je ne trouve pas… Pink3vil


#8

C’est tout a fait normal que ca prenne un temps fou, ou que cela merde.

Tu as possibilité de ne choisir qu’un véhicule et définir les couleurs, hors là tu les mets tous en même temps !

Il doit tout charger il rames !