Français Solved Problème d'accès au menu des plots sur mon iPhone X

  • Auteur de la discussion Auteur de la discussion Aerrrr
  • Date de début Date de début

Aerrrr

User
11/1/22
58
1
8
450
Bonjour j'ai suivi ce tutoriel pour mettre des plots sauf que maintenant ig je n'y arrive pas à accéder car j'ai une icone invisible 1645283665574.png
 
Solution
Remplace ton code
Code:
class ButtonPlaceables: Life_RscButtonMenu { 
            idc = 20003; 
            text = "Placeables"; 
            onButtonClick = "[] spawn life_fnc_placeablesMenu; closeDialog 0;"; 
            //x = 0.26 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH)); 
            x = 0.42 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH)); 
            y = 0.801; 
            w = (6.25 / 40); 
            h = (1 / 25); 
        };
par
Code:
class Plots {
            action = "[] spawn life_fnc_placeablesMenu; closeDialog 0;"; 
            displayName = "Plots";
            condition = "";
            picture = "The-Programmer\Iphone_X\textures\icons\TonImage.paa";
        };
Salut TonyNostraTV TonyNostraTV j'ai ajouter dans la catégorie class Cfg_Buttons ceci :
class ButtonPlaceables: Life_RscButtonMenu {
idc = 20003;
text = "Placeables";
onButtonClick = "[] spawn life_fnc_placeablesMenu; closeDialog 0;";
//x = 0.26 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH));
x = 0.42 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH));
y = 0.801;
w = (6.25 / 40);
h = (1 / 25);
};
 
Ça ne fonctionnera pas comme tu l’as mis, il faut qu’il ressemble aux autres boutons je pourrai t’aider plus tard dans la journée!
 
[CODE title="Essaye plutôt ça :"] class Placeable{
action = "[] spawn life_fnc_placeablesMenu;";
displayName = "Placeable";
condition = "";
picture = "Destination\Icon.paa";
};[/CODE]

PS : aucune idée du fonctionnement de ce script :)
 
  • Like
Les réactions: TonyNostraTV
Remplace ton code
Code:
class ButtonPlaceables: Life_RscButtonMenu { 
            idc = 20003; 
            text = "Placeables"; 
            onButtonClick = "[] spawn life_fnc_placeablesMenu; closeDialog 0;"; 
            //x = 0.26 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH)); 
            x = 0.42 + (6.25 / 19.8) + (1 / 250 / (safezoneW / safezoneH)); 
            y = 0.801; 
            w = (6.25 / 40); 
            h = (1 / 25); 
        };
par
Code:
class Plots {
            action = "[] spawn life_fnc_placeablesMenu; closeDialog 0;"; 
            displayName = "Plots";
            condition = "";
            picture = "The-Programmer\Iphone_X\textures\icons\TonImage.paa";
        };
 
Solution
Code:
/*   
    Author: Maximum, Adapté par Sharywan
    Description: Placeables for the cop\medic sides. 
    Disclaimer: Don't be a asshole and pass this off as your own or become a KAI and sell it for profit, Im releasing this for FREE… Credits: Killerty69 for a second pare of eyes when mine got to sleepy 
    P.S. - Don't be a faggot like i know some of you all will be. 
*/ 
life_barrier_active = false; 
life_barrier_activeObj = ObjNull; 
life_placeables = [ 
    [ "Cone", "cone"],
    [ "Cone X4", "cone4"],
    [ "Cone Drapeau", "coneflag"],
    [ "Cone Flash", "coneflash"],
    [ "Cone Flash x4", "Land_Crash_barrier_F"],
    [ "Barriere", "barriere"],
    [ "Barriere X3", "barriere3],
    [ "Triflash Accident", "triflash"],
    [ "Triflash Danger", "triflashdng"],
    [ "Retrecissement", "retritemp"],
    [ "Halte Police", "tmppn"],
    [ "50", "p50temp"],
    [ "30", "p30temp"],
    [ "Danger", "dangertemp"],
    [ "Feu", "feutemp], <---- Ta oublier un "
    [ "Fin Interdiction", "fininttemp"],
    [ "Gauche", "tmpgauche"],
    [ "Sens Interdit", "senint"],
    [ "Droite", "tmpdroite"],
    [ "Feu tricolore ", "feuchant1"],
    [ "Feu Tricolore 2", "feuchant2"],
    [ "Route barree", "routbarr"]
]; 
life_bar_limit = 2500; 
life_bar_placey = [];
 
Essaye avec ça Aerrrr Aerrrr
Code:
/*   
    Author: Maximum, Adapté par Sharywan
    Description: Placeables for the cop\medic sides. 
    Disclaimer: Don't be a asshole and pass this off as your own or become a KAI and sell it for profit, Im releasing this for FREE… Credits: Killerty69 for a second pare of eyes when mine got to sleepy 
    P.S. - Don't be a faggot like i know some of you all will be. 
*/ 
life_barrier_active = false; 
life_barrier_activeObj = ObjNull; 
life_placeables = [ 
    [ "Cone", "cone"],
    [ "Cone X4", "cone4"],
    [ "Cone Drapeau", "coneflag"],
    [ "Cone Flash", "coneflash"],
    [ "Cone Flash x4", "Land_Crash_barrier_F"],
    [ "Barriere", "barriere"],
    [ "Barriere X3", "barriere3"],
    [ "Triflash Accident", "triflash"],
    [ "Triflash Danger", "triflashdng"],
    [ "Retrecissement", "retritemp"],
    [ "Halte Police", "tmppn"],
    [ "50", "p50temp"],
    [ "30", "p30temp"],
    [ "Danger", "dangertemp"],
    [ "Feu", "feutemp"],
    [ "Fin Interdiction", "fininttemp"],
    [ "Gauche", "tmpgauche"],
    [ "Sens Interdit", "senint"],
    [ "Droite", "tmpdroite"],
    [ "Feu tricolore ", "feuchant1"],
    [ "Feu Tricolore 2", "feuchant2"],
    [ "Route barree", "routbarr"]
]; 
life_bar_limit = 2500; 
life_bar_placey = [];