Jump to content

Geoffrey02

Members
  • Content Count

    9
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Geoffrey02

  • Rank
    Newbie
  1. Geoffrey02

    Problem with Airdrop

    So the script go from the start to end i tried with hint : http://prntscr.com/kodhue
  2. Geoffrey02

    Problem with Airdrop

    The airdrop i installed is working perfectly the only problem is whit the option i tried to make my self, i just want the airdrop can be call be admin in the admin menu and not spawn randomly or spawn with certain ammount of pepole
  3. Geoffrey02

    Problem with Airdrop

    There is the log after pressing the button : https://pastebin.com/rmvx09QM Dont paid attention to the problem with life_cash its fixed now
  4. Geoffrey02

    Problem with Airdrop

    N one have an idea ?
  5. Geoffrey02

    Problem with Airdrop

    There is the script https://www.altisliferpg.com/topic/3501-dynamic-airdrop-100-working-50/ The script : if(FETCH_CONST(life_adminlevel) < 3) exitWith {closeDialog 0; hint localize "STR_ANOTF_ErrorLevel";}; if(!_action) exitWith {closeDialog 0; hint "Maybe a problem ? ";}; [] spawn { while {dialog} do { closeDialog 0; sleep 0.01; }; }; _action = createDialog "life_larguage"; if(_action) then { [[getPosWorld player],"TON_fnc_generateairdrop",false,false]; closeDialog 0; }; My dialog : admin_larguage.hpp class life_larguage { idd = 2800; name="life_larguage"; movingEnable = 0; enableSimulation = 1; class controlsBackground { class Life_RscTitleBackground : Life_RscText { colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", "(profilenamespace getvariable ['GUI_BCG_RGB_A',0.7])"}; idc = -1; x = 0.1; y = 0.2; w = 0.5; h = (1 / 25); }; class MainBackground : Life_RscText { colorBackground[] = {0, 0, 0, 0.7}; idc = -1; x = 0.1; y = 0.2 + (11 / 250); w = 0.5; h = 0.3 - (22 / 250); }; }; class controls { class Title : Life_RscTitle { colorBackground[] = {0, 0, 0, 0}; idc = -1; text = "Confirm "; x = 0.1; y = 0.2; w = 0.5; h = (1 / 25); }; class Confirm : Life_RscText { colorBackground[] = {0, 0, 0, 0}; idc = -1; text = "Sure to launch the drop ? "; x = 0.12; y = 0.24; w = 0.45; h = 0.12; }; class AdminLarguage : Life_RscButtonMenu { idc = -1; text = "Yes"; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; onButtonClick = "[] call life_fnc_adminLarguage; closeDialog 0;"; x = 0.15; y = 0.34; w = (6.25 / 40); h = (1 / 25); }; class AdminLarguageFermer : Life_RscButtonMenu { idc = -1; text = "No"; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; onButtonClick = "closeDialog 0;"; x = 0.35; y = 0.34; w = (6.25 / 40); h = (1 / 25); }; }; };
  6. Geoffrey02

    Problem with Airdrop

    Yeah thats from another try, not the actual one Actual RPT : https://pastebin.com/LJ6USeMk Dont make importance to String STR_MAR_Hunting_Grounds not found spam msg fixed
  7. Geoffrey02

    Problem with Airdrop

    Im in framework 5.0 and yes that was an error from me , actually i have put every files forw the topic in life_server/function/airdrop and didnt change anything except for the admin menu
  8. Hi today i was installing the Dyn airdrop : I was trying to add an option in my admin menu to call the drop but not working. Im also not sure at 100% the script is working :'( What i made ? An fn_admindrop.sqf in admin file with if(FETCH_CONST(life_adminlevel) < 3) exitWith {closeDialog 0; hint localize "STR_ANOTF_ErrorLevel";}; if(!_action) exitWith {closeDialog 0; hint "There is a problem";}; [] spawn { while {dialog} do { closeDialog 0; sleep 0.01; }; }; _action = createDialog "life_larguage"; if(_action) then { [[getPosWorld player],"TON_fnc_generateAirdrop",false,false] spawn life_fnc_MP; closeDialog 0; }; I made a new dialog file called : admin drop with Confirm ect class AdminLarguage : Life_RscButtonMenu { idc = -1; text = "Yes"; colorBackground[] = {"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.3843])", "(profilenamespace getvariable ['GUI_BCG_RGB_G',0.7019])", "(profilenamespace getvariable ['GUI_BCG_RGB_B',0.8862])", 0.5}; onButtonClick = "[] call life_fnc_adminLarguage; closeDialog 0;"; x = 0.15; y = 0.34; w = (6.25 / 40); h = Nothing is going. There is my rpt : https://pastebin.com/wCzCRAd7 Thx for the help in advance
×