Comment installer un addon

Salut a tous je cherche comment installer un addon sur son serveur altis life j’ai vue qu’un tuto a déjà été fait mais je ne le comprend pas et je ne voie pas ou glisser le fichier du mod.

Merci d’avoir pris la peine de lire mon message en attente d’aide.

Cordialement MTK

MtK Ton mods Exemple > un dans le racine du Serveur

Un autre Exemple dans steamapp > common > arma 3

Puis dans ton nitrado je suis pose ! WebInterface > reglage > life_server;extDB; Exemple

Pink3vil merci pour ton aide :slight_smile:

MtK De Rien

@Pink3vil Je ne trouve plus mon serv une fois que j’ai mis les fichier et modifier les vehiculelistcfg et le vehiculeweight

MtK Dans nitrado tu à mis WebInterface > reglage > life_server;extDB; Exemple

Ou dans ton Hébergeur ?

@Pink3vil oui je l’ai fait

@Pink3vil le addon est le addon fourni sur l’autre tuto et j’ai vue que dans la modofication des fichier il n’y a pas tout les vehicule du pack il ne sont pas tous repertorier dans le fn_vehiculelist.sqf donc ça veut dire que je n’aurais pas tout les vehicule de present.

merci de ton aide Pink3evil c’est vraiment simpas

Pink3evil la j’ai reussi a lancer mon serv et tout il y a les addon dessus mais la liste des vehicules ne s’affiche pas quan dje vais dans le vendeur

C’est la partie la plus drole!

c est à toi de les mettres à la mimine dans le shop !

Pour ça tu as fn_vehicleListCfg.sqf

Mais je te conseil d’utiliser un tuto parcequ’ils y a pas mal de parametres et de règles pour faire un bon shop.

Après pour ce qui est de trouver les véhicule dans l’addon, je te conseil un admin mode type wooky qui te permet de voir la liste des vehicules que tu as dans ton addon.

Malheureusement je peux pas faire de tuto dessus j’arriverais pas à faire un truc simple à comprendre !

winner je les ai rajouter mais aucun vehicule quand je vais dans mon shop meme les vehicule moder n’y sont pas

MtK Envoie tonfn_vehiculelist.sqf

MtK Envoie tonfn_vehiculelist.sqf

Si tu n’as aucun véhicule, c’est une erreur dans le fichier **fn_vehiculelist.sqf **bien souvent c’est une virgule manquante.

envoi ton fichier comme l’a demandé Pink3vil

winner Pink3vil voila mon fn_vehiculelist.sqf

#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 "car_vip":  

{  

    _return = [  

        ["B_Quadbike_01_F",1500],  

        ["C_Hatchback_01_F",5500],  

        ["C_Offroad_01_F",7500],  

        ["C_Hatchback_01_sport_F",15000],  

        ["C_SUV_01_F",20000],  

        ["C_Van_01_transport_F",30000],  

        ["C_Van_01_box_F",35000],  

        ["I_Truck_02_transport_F",40000],  

        ["I_Truck_02_covered_F",50000],  

        ["B_Truck_01_transport_F",200000],  

        ["O_Truck_03_transport_F",150000],  

        ["O_Truck_03_covered_F",200000],  

        ["B_Truck_01_box_F",300000],  

        ["O_Truck_03_device_F",400000],  

        ["B_Heli_Light_01_F",400000],  

        ["O_Heli_Light_02_unarmed_F",1500000],  

        ["I_Heli_Transport_02_F",5000000]  

    ];  

    if(license_civ_rebel) then  

    {  

        _return set[count _return,  

        ["O_MRAP_02_F",100000]  

        ];  

        _return set[count _return,  

        ["B_Heli_Light_01_F",750000]  

        ];  

        _return set[count _return,  

        ["B_G_Offroad_01_armed_F",800000]  

        ];  

    };  

};  

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 "cop_car":  

{  

    _return set[count _return,  

    ["C_Offroad_01_F",5000]];  

    _return set[count _return,  

    ["C_SUV_01_F",20000]];  

    _return set[count _return,  

    ["DAR_ImpalaPolice",0]];  

    _return set[count _return,  

    ["DAR_CVPIAux",0]];  

    if(__GETC__(life_coplevel) > 3) then  

    {  

    _return set[count _return,  

    ["DAR_TaurusPolice",0]];  

    _return set[count _return,  

    ["DAR_TahoePolice",0]];  

    _return set[count _return,  

    ["DAR_ExplorerPolice",0]];  

    _return set[count _return,  

    ["DAR_ChargerPolice",0]];  

    _return set[count _return,  

    ["ffaa_et_rg31_samson",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]];  

        };  

    if(__GETC__(life_coplevel) > 5) then  

    {  

        _return set[count _return,  

        ["B_MRAP_01_F",30000]];  

        _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,  

     ["DAR_DAR_02FirebirdSSVPolice",0]];  

    };  

};  

case "med_shop":  

{  

        if(__GETC__(life_mediclevel) == 1) then  

        {  

        _return set[count _return,  

        ["C_Offroad_01_F",10000]  

        ];  

        _return set[count _return,  

        ["C_Hatchback_01_F",12500]  

        ];  

        };  

        if(__GETC__(life_mediclevel) == 2) then  

        {  

        _return set[count _return,  

        ["C_Offroad_01_F",10000]  

        ];  

        _return set[count _return,  

        ["C_Hatchback_01_F",12500]  

        ];  

        _return set[count _return,  

        ["C_SUV_01_F",15000]  

        ];  

        _return set[count _return,  

        ["I_Truck_02_medical_F",25000]  

        ];  

        };  

        if(__GETC__(life_mediclevel) == 3) then  

        {  

        _return set[count _return,  

        ["C_Offroad_01_F",10000]  

        ];  

        _return set[count _return,  

        ["C_Hatchback_01_F",12500]  

        ];  

        _return set[count _return,  

        ["C_SUV_01_F",15000]  

        ];  

        _return set[count _return,  

        ["I_Truck_02_medical_F",25000]  

        ];  

        _return set[count _return,  

        ["B_Heli_Light_01_F",65000]  

        ];  

        };  

        if(__GETC__(life_mediclevel) > 3) then  

        {  

        _return set[count _return,  

        ["C_Offroad_01_F",10000]  

        ];  

        _return set[count _return,  

        ["C_Hatchback_01_F",12500]  

        ];  

        _return set[count _return,  

        ["C_SUV_01_F",15000]  

        ];  

        _return set[count _return,  

        ["I_Truck_02_medical_F",25000]  

        ];  

        _return set[count _return,  

        ["B_Heli_Light_01_F",65000]  

        ];  

        _return set[count _return,  

        ["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",40000],  

        ["DAR_ImpalaCivA",40000],  

        ["DAR_ImpalaCivB",40000],  

        ["DAR_ImpalaCivC",40000],  

        ["DAR_ImpalaCivD",40000],  

        ["DAR_ImpalaCivE",40000],  

        ["DAR_ImpalaCivF",40000],  

        ["DAR_ImpalaCivG",40000],  

        ["DAR_FusionCiv",45000],  

        ["DAR_FusionCivRed",45000],  

        ["DAR_FusionCivBlack",45000],  

        ["DAR_FusionCivBlue",45000],  

        ["DAR_TahoeCiv",50000],  

        ["DAR_TahoeCivRed",50000],  

        ["DAR_TahoeCivBlue",50000],  

        ["DAR_TahoeCivSilver",50000],  

        ["DAR_TahoeCivBlack",50000],  

        ["DAR_TaurusCiv",50000],  

        ["DAR_TaurusCivBlue",50000],  

        ["DAR_TaurusCivBlack",50000],  

        ["SAL_IROCCiv",100000],  

        ["SAL_IROCCivSilver",100000],  

        ["SAL_IROCCivBlack",100000],  

        ["SAL_IROCCivBlue",100000],  

        ["SAL_IROCCivRed",100000],  

        ["Jonzie_96_Impala",70000],  

        ["SAL_77TRANSAMCiv",70000],  

        ["SAL_AudiCiv",170000],  

        ["SAL_AudiCivSilver",170000],  

        ["SAL_AudiCivBlack",170000],  

        ["SAL_AudiCivRed",170000],  

        ["DAR_ChallengerCivWhite",80000],  

        ["DAR_ChallengerCivBlack",80000],  

        ["DAR_ChallengerCivRed",80000],  

        ["DAR_ChallengerCivOrange",80000],  

        ["DAR_Charger_Blue",75000],  

        ["DAR_ChargerCiv",75000],  

        ["DAR_FusionCiv",75000],  

        ["DAR_MF1Civ",400000],  

        ["DAR_MF1Silver",400000],  

        ["DAR_MF1Burgundy",400000],  

        ["DAR_MF1Red",400000],  

        ["DAR_MF1Orange",400000],  

        ["Jonzie_96_Impala_Unmarked",70000],  

    ];  

};  

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",550000],  

        ["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",975000]  

    ];  

    if(license_civ_rebel) then  

    {  

        _return set[count _return,  

        ["B_G_Offroad_01_armed_F",750000]  

        ];  

    };  

};  

case "cop_car":  

{  

    _return set[count _return,  

    ["C_Offroad_01_F",5000]];  

    _return set[count _return,  

    ["C_SUV_01_F",20000]];  

    if(__GETC__(life_coplevel) > 5) then  

    {  

        _return set[count _return,  

        ["B_MRAP_01_F",30000]];  

    };  

};  

case "civ_air":  

{  

    _return =  

    [  

        ["B_Heli_Light_01_F",759000],  

        ["O_Heli_Light_02_unarmed_F",2250000]  

    ];  

};  

case "cop_air":  

{  

    _return set[count _return,  

    ["B_Heli_Light_01_F",225000]];  

    if(__GETC__(life_coplevel) > 5) then  

    {  

        _return set[count _return,  

        ["B_Heli_Transport_01_F",600000]];  

    };  

};  

case "cop_airhq":  

{  

    _return set[count _return,  

    ["B_Heli_Light_01_F",225000]];  

    if(__GETC__(life_coplevel) > 5) then  

    {  

        _return set[count _return,  

        ["B_Heli_Transport_01_F",600000]];  

    };  

};  

case "civ_ship":  

{  

    _return =  

    [  

        ["C_Rubberboat",5000],  

        ["C_Boat_Civil_01_F",22000]  

    ];  

};  

case "cop_ship":  

{  

    _return set[count _return,  

    ["B_Boat_Transport_01_F",3000]];  

    _return set[count _return,  

    ["C_Boat_Civil_01_police_F",20000]];  

    if(__GETC__(life_coplevel) > 5) then  

    {  

        _return set[count _return,  

        ["B_Boat_Armed_01_minigun_F",75000]];  

        _return set[count _return,  

        ["B_SDV_01_F",100000]];  

    };  

};  

//Famille Maikovski  

case "maikovski_car":  

{  

    _return =  

    [  

        ["B_Quadbike_01_F",2500],  

        ["C_Hatchback_01_F",8500],  

        ["C_Offroad_01_F",10500],  

        ["C_SUV_01_F",30000],  

        ["C_Van_01_transport_F",35000],  

        ["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],  

        ["B_Heli_Light_01_F",759000],  

        ["O_Heli_Light_02_unarmed_F",2250000]  

    ];  

    if(license_civ_rebel) then  

    {  

        _return set[count _return,  

        ["B_G_Offroad_01_F",14000]];  

        _return set[count _return,  

        ["O_MRAP_02_F",140000]];  

        _return set[count _return,  

        ["B_G_Offroad_01_armed_F",750000]];  

    };  

};  

//Gang Magikarp  

case "magikarp_car":  

{  

    _return =  

    [  

        ["B_Quadbike_01_F",2500],  

        ["C_Hatchback_01_F",8500],  

        ["C_Offroad_01_F",10500],  

        ["C_SUV_01_F",30000],  

        ["C_Van_01_transport_F",35000],  

        ["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],  

        ["B_Heli_Light_01_F",759000],  

        ["O_Heli_Light_02_unarmed_F",2250000]  

    ];  

    if(license_civ_rebel) then  

    {  

        _return set[count _return,  

        ["B_G_Offroad_01_F",14000]];  

        _return set[count _return,  

        ["O_MRAP_02_F",140000]];  

        _return set[count _return,  

        ["B_G_Offroad_01_armed_F",750000]];  

    };  

};  

//Gang Psycko Elementary  

case "psycko_car":  

{  

    _return =  

    [  

        ["B_Quadbike_01_F",2500],  

        ["C_Hatchback_01_F",8500],  

        ["C_Offroad_01_F",10500],  

        ["C_SUV_01_F",30000],  

        ["C_Van_01_transport_F",35000],  

        ["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],  

        ["B_Heli_Light_01_F",759000],  

        ["O_Heli_Light_02_unarmed_F",2250000]  

    ];  

    if(license_civ_rebel) then  

    {  

        _return set[count _return,  

        ["B_G_Offroad_01_F",14000]];  

        _return set[count _return,  

        ["O_MRAP_02_F",140000]];  

        _return set[count _return,  

        ["B_G_Offroad_01_armed_F",750000]];  

    };  

};  

//Famille Pavlovitch  

case "pavlovitch_car":  

{  

    _return =  

    [  

        ["B_Quadbike_01_F",2500],  

        ["C_Hatchback_01_F",8500],  

        ["C_Offroad_01_F",10500],  

        ["C_SUV_01_F",30000],  

        ["C_Van_01_transport_F",35000],  

        ["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],  

        ["B_Heli_Light_01_F",759000],  

        ["O_Heli_Light_02_unarmed_F",2250000]  

    ];  

    if(license_civ_rebel) then  

    {  

        _return set[count _return,  

        ["B_G_Offroad_01_F",14000]];  

        _return set[count _return,  

        ["O_MRAP_02_F",140000]];  

        _return set[count _return,  

        ["B_G_Offroad_01_armed_F",750000]];  

    };  

};  

//Véhicules dépanneurs  

case "dep_car":  

{  

    _return =  

    [  

        ["C_Offroad_01_F",10000],  

        ["C_Van_01_transport_F",15000],  

        ["I_Truck_02_transport_F",30000],  

        ["I_Truck_02_covered_F",40000],  

        ["B_Truck_01_transport_F",50000],  

        ["O_Truck_03_transport_F",60000],  

        ["O_Truck_03_covered_F",70000],  

        ["B_Truck_01_box_F",80000],  

        ["O_Truck_03_device_F",100000],  

        ["B_Heli_Light_01_F",759000],  

        ["O_Heli_Light_02_unarmed_F",2250000]  

    ];  

};  

};

_return;

ouaip bhein il y a tout à refaire.

tu mets

_return set[count _return,
[“C_Offroad_01_F”,5000]];
_return set[count _return,
[“C_SUV_01_F”,20000]];
_return set[count _return,
[“DAR_ImpalaPolice”,0]];
_return set[count _return,
[“DAR_CVPIAux”,0]];

Mais il y a pas besoin de remettre à chaque fois _return set[count _return,

tu en met un pour un bloque de véhicule.

attend je vérifi le reste aussi.

winner donc pas besoin de mettre ça mais il y a un autre probleme ou pas ?

J’allais écrire des connerie et je viens de me rendre compte que tu as mis ton fichier direct en texte.

Prend ton fichier depuis le notepad++ et quand tu le met dans le texte fait le avec avec le <> ( Inserer un extrait de code )dans l’editeur du forum.

Autrement c est illisible.

Se sera plus propre à lire STP .

#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 "car_vip":  
	{  
		_return = [  
			["B_Quadbike_01_F",1500],  
			["C_Hatchback_01_F",5500],  
			["C_Offroad_01_F",7500],  
			["C_Hatchback_01_sport_F",15000],  
			["C_SUV_01_F",20000],  
			["C_Van_01_transport_F",30000],  
			["C_Van_01_box_F",35000],  
			["I_Truck_02_transport_F",40000],  
			["I_Truck_02_covered_F",50000],  
			["B_Truck_01_transport_F",200000],  
			["O_Truck_03_transport_F",150000],  
			["O_Truck_03_covered_F",200000],  
			["B_Truck_01_box_F",300000],  
			["O_Truck_03_device_F",400000],  
			["B_Heli_Light_01_F",400000],  
			["O_Heli_Light_02_unarmed_F",1500000],  
			["I_Heli_Transport_02_F",5000000]  
		];  
		if(license_civ_rebel) then  
		{  
			_return set[count _return,  
			["O_MRAP_02_F",100000]  
			];  
			_return set[count _return,  
			["B_Heli_Light_01_F",750000]  
			];  
			_return set[count _return,  
			["B_G_Offroad_01_armed_F",800000]  
			];  
		};  
	};  
	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 "cop_car":  
	{  
		_return set[count _return,  
		["C_Offroad_01_F",5000]];  
		["C_SUV_01_F",20000]];  
		["DAR_ImpalaPolice",0]];  
		["DAR_CVPIAux",0]];  

		if(__GETC__(life_coplevel) > 3) then  
		{  
		_return set[count _return,  
		["DAR_TaurusPolice",40000]];  
		["DAR_TahoePolice",40000]];  
		["DAR_ExplorerPolice",50000]];  
		["DAR_ChargerPolice",55000]];  
		["ffaa_et_rg31_samson",30000]];  
		};  

		if(__GETC__(life_coplevel) > 4) then  
			{  
			_return set[count _return,  
		    ["sfp_wheelchair",5000]];  
		    ["DAR_TahoePoliceSlick",50000]];  
		    ["DAR_ChargerPoliceStateSlick",50000]];  
			};   

		if(__GETC__(life_coplevel) > 5) then  
		{  
			_return set[count _return,  
			["B_MRAP_01_F",30000]];  
			["sfp_wheelchair",5000]];  
            ["DAR_TahoePoliceSlick",50000]];  
		    ["DAR_ChargerPoliceStateSlick",50000]];  
		    ["DAR_DAR_02FirebirdSSVPolice",50000]];  
		};  
	};  

	case "med_shop":  
	{  

			if(__GETC__(life_mediclevel) == 1) then  
			{  
			_return set[count _return,  
			["C_Offroad_01_F",10000]  
			];  
			_return set[count _return,  
			["C_Hatchback_01_F",12500]  
			];  
			};  

			if(__GETC__(life_mediclevel) == 2) then  
			{  
			_return set[count _return,  
			["C_Offroad_01_F",10000]  
			];  
			_return set[count _return,  
			["C_Hatchback_01_F",12500]  
			];  
			_return set[count _return,  
			["C_SUV_01_F",15000]  
			];  
			_return set[count _return,  
			["I_Truck_02_medical_F",25000]  
			];  
			};  

			if(__GETC__(life_mediclevel) == 3) then  
			{  
			_return set[count _return,  
			["C_Offroad_01_F",10000]  
			];  
			_return set[count _return,  
			["C_Hatchback_01_F",12500]  
			];  
			_return set[count _return,  
			["C_SUV_01_F",15000]  
			];  
			_return set[count _return,  
			["I_Truck_02_medical_F",25000]  
			];  
			_return set[count _return,  
			["B_Heli_Light_01_F",65000]  
			];  
			};  
			if(__GETC__(life_mediclevel) > 3) then  
			{  
			_return set[count _return,  
			["C_Offroad_01_F",10000]  
			];  
			_return set[count _return,  
			["C_Hatchback_01_F",12500]  
			];  
			_return set[count _return,  
			["C_SUV_01_F",15000]  
			];  
			_return set[count _return,  
			["I_Truck_02_medical_F",25000]  
			];  
			_return set[count _return,  
			["B_Heli_Light_01_F",65000]  
			];  
			_return set[count _return,  
			["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",40000],  
			["DAR_ImpalaCivA",40000],  
			["DAR_ImpalaCivB",40000],  
			["DAR_ImpalaCivC",40000],  
			["DAR_ImpalaCivD",40000],  
			["DAR_ImpalaCivE",40000],  
			["DAR_ImpalaCivF",40000],  
			["DAR_ImpalaCivG",40000],  
			["DAR_FusionCiv",45000],  
			["DAR_FusionCivRed",45000],  
			["DAR_FusionCivBlack",45000],  
			["DAR_FusionCivBlue",45000],  
			["DAR_TahoeCiv",50000],  
			["DAR_TahoeCivRed",50000],  
			["DAR_TahoeCivBlue",50000],  
			["DAR_TahoeCivSilver",50000],  
			["DAR_TahoeCivBlack",50000],  
			["DAR_TaurusCiv",50000],  
			["DAR_TaurusCivBlue",50000],  
			["DAR_TaurusCivBlack",50000],  
			["SAL_IROCCiv",100000],  
			["SAL_IROCCivSilver",100000],  
			["SAL_IROCCivBlack",100000],  
			["SAL_IROCCivBlue",100000],  
			["SAL_IROCCivRed",100000],  
			["Jonzie_96_Impala",70000],  
			["SAL_77TRANSAMCiv",70000],  
			["SAL_AudiCiv",170000],  
			["SAL_AudiCivSilver",170000],  
			["SAL_AudiCivBlack",170000],  
			["SAL_AudiCivRed",170000],  
			["DAR_ChallengerCivWhite",80000],  
			["DAR_ChallengerCivBlack",80000],  
			["DAR_ChallengerCivRed",80000],  
			["DAR_ChallengerCivOrange",80000],  
			["DAR_Charger_Blue",75000],  
			["DAR_ChargerCiv",75000],  
			["DAR_FusionCiv",75000],  
			["DAR_MF1Civ",400000],  
			["DAR_MF1Silver",400000],  
			["DAR_MF1Burgundy",400000],  
			["DAR_MF1Red",400000],  
			["DAR_MF1Orange",400000],  
			["Jonzie_96_Impala_Unmarked",70000],  
		];  
	};  

	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",550000],  
			["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",975000]  
		];  

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

	case "cop_car":  
	{  
		_return set[count _return,  
		["C_Offroad_01_F",5000]];  
		_return set[count _return,  
		["C_SUV_01_F",20000]];  
		if(__GETC__(life_coplevel) > 5) then  
		{  
			_return set[count _return,  
			["B_MRAP_01_F",30000]];  
		};  
	};  

	case "civ_air":  
	{  
		_return =  
		[  
			["B_Heli_Light_01_F",759000],  
			["O_Heli_Light_02_unarmed_F",2250000]  
		];  
	};  

	case "cop_air":  
	{  
		_return set[count _return,  
		["B_Heli_Light_01_F",225000]];  
		if(__GETC__(life_coplevel) > 5) then  
		{  
			_return set[count _return,  
			["B_Heli_Transport_01_F",600000]];  
		};  
	};  

	case "cop_airhq":  
	{  
		_return set[count _return,  
		["B_Heli_Light_01_F",225000]];  
		if(__GETC__(life_coplevel) > 5) then  
		{  
			_return set[count _return,  
			["B_Heli_Transport_01_F",600000]];  
		};  
	};  

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

	case "cop_ship":  
	{  
		_return set[count _return,  
		["B_Boat_Transport_01_F",3000]];  
		_return set[count _return,  
		["C_Boat_Civil_01_police_F",20000]];  
		if(__GETC__(life_coplevel) > 5) then  
		{  
			_return set[count _return,  
			["B_Boat_Armed_01_minigun_F",75000]];  
			_return set[count _return,  
			["B_SDV_01_F",100000]];  
		};  
	};  

	//Famille Maikovski  
	case "maikovski_car":  
	{  
		_return =  
		[  
			["B_Quadbike_01_F",2500],  
			["C_Hatchback_01_F",8500],  
			["C_Offroad_01_F",10500],  
			["C_SUV_01_F",30000],  
			["C_Van_01_transport_F",35000],  
			["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],  
			["B_Heli_Light_01_F",759000],  
			["O_Heli_Light_02_unarmed_F",2250000]  
		];  

		if(license_civ_rebel) then  
		{  
			_return set[count _return,  
			["B_G_Offroad_01_F",14000]];  
			_return set[count _return,  
			["O_MRAP_02_F",140000]];  
			_return set[count _return,  
			["B_G_Offroad_01_armed_F",750000]];  

		};  
	};  

	//Gang Magikarp  
	case "magikarp_car":  
	{  
		_return =  
		[  
			["B_Quadbike_01_F",2500],  
			["C_Hatchback_01_F",8500],  
			["C_Offroad_01_F",10500],  
			["C_SUV_01_F",30000],  
			["C_Van_01_transport_F",35000],  
			["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],  
			["B_Heli_Light_01_F",759000],  
			["O_Heli_Light_02_unarmed_F",2250000]  
		];  

		if(license_civ_rebel) then  
		{  
			_return set[count _return,  
			["B_G_Offroad_01_F",14000]];  
			_return set[count _return,  
			["O_MRAP_02_F",140000]];  
			_return set[count _return,  
			["B_G_Offroad_01_armed_F",750000]];  

		};  
	};  

	//Gang Psycko Elementary  
	case "psycko_car":  
	{  
		_return =  
		[  
			["B_Quadbike_01_F",2500],  
			["C_Hatchback_01_F",8500],  
			["C_Offroad_01_F",10500],  
			["C_SUV_01_F",30000],  
			["C_Van_01_transport_F",35000],  
			["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],  
			["B_Heli_Light_01_F",759000],  
			["O_Heli_Light_02_unarmed_F",2250000]  
		];  

		if(license_civ_rebel) then  
		{  
			_return set[count _return,  
			["B_G_Offroad_01_F",14000]];  
			_return set[count _return,  
			["O_MRAP_02_F",140000]];  
			_return set[count _return,  
			["B_G_Offroad_01_armed_F",750000]];  

		};  
	};  

	//Famille Pavlovitch  
	case "pavlovitch_car":  
	{  
		_return =  
		[  
			["B_Quadbike_01_F",2500],  
			["C_Hatchback_01_F",8500],  
			["C_Offroad_01_F",10500],  
			["C_SUV_01_F",30000],  
			["C_Van_01_transport_F",35000],  
			["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],  
			["B_Heli_Light_01_F",759000],  
			["O_Heli_Light_02_unarmed_F",2250000]  
		];  

		if(license_civ_rebel) then  
		{  
			_return set[count _return,  
			["B_G_Offroad_01_F",14000]];  
			_return set[count _return,  
			["O_MRAP_02_F",140000]];  
			_return set[count _return,  
			["B_G_Offroad_01_armed_F",750000]];  

		};  
	};  

	//Véhicules dépanneurs  
	case "dep_car":  
	{  
		_return =  
		[  
			["C_Offroad_01_F",10000],  
			["C_Van_01_transport_F",15000],  
			["I_Truck_02_transport_F",30000],  
			["I_Truck_02_covered_F",40000],  
			["B_Truck_01_transport_F",50000],  
			["O_Truck_03_transport_F",60000],  
			["O_Truck_03_covered_F",70000],  
			["B_Truck_01_box_F",80000],  
			["O_Truck_03_device_F",100000],  
			["B_Heli_Light_01_F",759000],  
			["O_Heli_Light_02_unarmed_F",2250000]  
		];  

	};  

};  

_return;  

winner voila

MtK Reprend ton fn_vehicleList.sqf à Zéro !

Ajouts tes véhicules 1 par 1 car là c’est trop le bordel !

Voici le début de ton fichier refait

#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 "car_vip":  
	{  
		_return = [  
			["B_Quadbike_01_F",1500],  
			["C_Hatchback_01_F",5500],  
			["C_Offroad_01_F",7500],  
			["C_Hatchback_01_sport_F",15000],  
			["C_SUV_01_F",20000],  
			["C_Van_01_transport_F",30000],  
			["C_Van_01_box_F",35000],  
			["I_Truck_02_transport_F",40000],  
			["I_Truck_02_covered_F",50000],  
			["B_Truck_01_transport_F",200000],  
			["O_Truck_03_transport_F",150000],  
			["O_Truck_03_covered_F",200000],  
			["B_Truck_01_box_F",300000],  
			["O_Truck_03_device_F",400000],  
			["B_Heli_Light_01_F",400000],  
			["O_Heli_Light_02_unarmed_F",1500000],  
			["I_Heli_Transport_02_F",5000000]  
		];  
		if(license_civ_rebel) then  
		{  
			_return set[count _return, ["O_MRAP_02_F",100000]];  
			_return set[count _return, ["B_Heli_Light_01_F",750000]];  
			_return set[count _return, ["B_G_Offroad_01_armed_F",800000]];  
		};  
	};  
	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 "cop_car":  
	{  
		_return set[count _return, ["C_Offroad_01_F",5000]];  
		_return set[count _return, ["C_SUV_01_F",20000]];  
		_return set[count _return, ["DAR_ImpalaPolice",0]];  
		_return set[count _return, ["DAR_CVPIAux",0]];  

		if(__GETC__(life_coplevel) > 3) then  
		{  
		_return set[count _return, ["DAR_TaurusPolice",40000]];  
		_return set[count _return, ["DAR_TahoePolice",40000]];  
		_return set[count _return, ["DAR_ExplorerPolice",50000]];  
		_return set[count _return, ["DAR_ChargerPolice",55000]];  
		_return set[count _return, ["ffaa_et_rg31_samson",30000]];  
		};  

		if(__GETC__(life_coplevel) > 4) then  
		{  
			_return set[count _return, ["sfp_wheelchair",5000]];  
			_return set[count _return, ["DAR_TahoePoliceSlick",50000]];  
			_return set[count _return, ["DAR_ChargerPoliceStateSlick",50000]];  
		};  
		if(__GETC__(life_coplevel) > 5) then  
		{  
			_return set[count _return, ["B_MRAP_01_F",30000]];  
			_return set[count _return, ["sfp_wheelchair",5000]];  
			_return set[count _return, ["DAR_TahoePoliceSlick",50000]];  
			_return set[count _return, ["DAR_ChargerPoliceStateSlick",50000]];  
			_return set[count _return, ["DAR_DAR_02FirebirdSSVPolice",50000]];  
		};  
	};  

Fini le reste sur le modèle.