• Problème de chop clothing cop


    Bonjour, bonsoir

    je vient vous voir pour un souci que nous avons actuellement pour le développement de notre serveur.

    Aux niveaux du clothing shop police pour moi et un amis aucune erreur mais le shop ne fonction pas “il est vide”

    code :

    #include <macro.h>  
    /*  
    	File: fn_clothing_cop.sqf  
    	Author: Bryan "Tonic" Boardwine  
    
    	Description:  
    	Master config file for Cop clothing store.  
    */  
    private["_filter","_ret"];  
    _filter = [_this,0,0,[0]] call BIS_fnc_param;  
    //Classname, Custom Display name (use nil for Cfg->DisplayName, price  
    
    //Shop Title Name  
    ctrlSetText[3103,"Altis Police Department Shop"];  
    
    _ret = [];  
    switch (_filter) do  
    {  
    	//Uniforms  
    	case 0:  
    	{  
    		if(__GETC__(life_coplevel) > 1) then  
    		{  
    			_ret pushBack ["";,"==== Gign ====",0];  
    			_ret pushBack ["gign_uniform","Uniform Gign",250];  
    		};  
    
    		if(__GETC__(life_coplevel) > 2) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 3) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 3) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 4) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 5) then  
    		{  
    			_ret pushBack ["";,"== Militaire ==",0];  
    			_ret pushBack ["REV1_uniform_fma";,"Uniforme CCE",1000];  
    			_ret pushBack ["REV1_uniform_da";,"Uniforme Daguet",1000];  
    		};  
    
    	};  
    
    	//Hats  
    	case 1:  
    	{  
    		if(__GETC__(life_coplevel) > 1) then  
    		{  
    			_ret pushBack ["";,"==== Gign ====",0];  
    			_ret pushBack ["gign_helm","Casque Gigin",250];  
    		};  
    
    		if(__GETC__(life_coplevel) > 2) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 3) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 3) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 4) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 5) then  
    		{  
    			_ret pushBack ["";,"== Militaire ==",0];  
    			_ret pushBack ["Beret_rouge";,"Beret rouge",1000];  
    		};  
    	};  
    
    	//Glasses  
    	case 2:  
    	{  
    		_ret =   
    		[  
    			["";,"==== Tous ====",0],  
    			["G_Shades_Black",nil,25],  
    			["G_Shades_Blue",nil,20],  
    			["G_Sport_Blackred",nil,20],  
    			["G_Sport_Checkered",nil,20],  
    			["G_Sport_Blackyellow",nil,20],  
    			["G_Sport_BlackWhite",nil,20],  
    			["G_Aviator",nil,75],  
    			["G_Squares",nil,10],  
    			["G_Lowprofile",nil,30],  
    			["G_Combat",nil,55]  
    		];  
    
    		if(__GETC__(life_coplevel) > 5) then  
    		{  
    			_ret pushBack ["";,"== Militaire ==",0];  
    			_ret pushBack ["RPIMA_Balaclava2";,"Gagoule olive",1000];  
    
    		};	  
    
    	};  
    
    	//Vest  
    	case 3:  
    	{  
    		if(__GETC__(life_coplevel) > 1) then  
    		{  
    			_ret pushBack ["";,"==== Gign ====",0];  
    			_ret pushBack ["gign_BlackVest";,"Ciras gign",1500];  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 2) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 3) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 3) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 4) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 5) then  
    		{  
    			_ret pushBack ["";,"== Militaire ==",0];  
    			_ret pushBack ["REV1_vest_ce";,"Ciras olive",1000];  
    			_ret pushBack ["REV1_vest_de";,"Ciras tan",1000];  
    
    		};	  
    	};  
    
    	//Backpacks  
    	case 4:  
    	{  
    		if(__GETC__(life_coplevel) > 1) then  
    		{  
    			_ret pushBack ["";,"==== Gign ====",0];  
    			_ret pushBack ["CUP_B_USPack_Black";,"Sac gign",2500];  
    		};	  
    
    		if(__GETC__(life_coplevel) > 2) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 3) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 3) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 4) then  
    		{  
    
    		};  
    
    		if(__GETC__(life_coplevel) > 5) then  
    		{  
    			_ret pushBack ["";,"== Militaire ==",0];  
    			_ret pushBack ["CUP_B_ACRPara_m95";,"Sac CCE",1000];  
    			_ret pushBack ["CUP_B_USPack_Coyote";,"Sac Daguet",1000];  
    
    		};	  
    	};  
    };  
    
    _ret;  
    

    Merci de votre futur réponse .

  • Donnes nous tes logs clients et serveur plz

Messages 2Vues 334