<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Admin Menu 3.1.4.8]]></title><description><![CDATA[<p dir="auto">Bonjour , je tien a précisé que ce tuto ne viens pas de moi mais de Forum Bulldog : <a href="http://www.altisliferpg.com/topic/4375-modifyextended-admin-menu/" rel="nofollow ugc">http://www.altisliferpg.com/topic/4375-modifyextended-admin-menu/</a><br />
 <br />
Commençons tout de suite : <br />
 <br />
 <br />
1 . Commencer par aller dans votre base de donnée dans players puis structure puis cherché adminlevel , et rajouté 2 grade admin cela devrait ressemblé à ça :</p>
<pre><code>'0','1','2','3','4','5'
</code></pre>
<p dir="auto">2 . Aller dans Function.h (qui se trouve a la racine de votre mission) et modifié la Class Admin</p>
<pre><code>    class Civilian
    {
        file = "core\civilian";
        class freezePlayer {};
    };
    class Admin
    {
        file = "core\admin";
        class admininfo {};
        class adminid {};
        class admingetID {};
        class adminMenu {};
        class adminQuery {};
        class adminSpectate {};
        class adminTeleport {};
        class adminTpHere {};
        class adminDebugCon {};
        class adminCompensate {};
        class adminGodMode {};
        class adminFreeze {};
        class adminMarkers {};
    };
</code></pre>
<p dir="auto">3 . Aller dans stringtable.xml (Qui se trouve à la racine de votre mission)  et modifié Admin Menu</p>
<pre><code>       &lt;Key ID="STR_Admin_Spectate"&gt;
            &lt;Original&gt;Spectate&lt;/Original&gt;
            &lt;English&gt;Spectate&lt;/English&gt;
            &lt;German&gt;Zuschauen&lt;/German&gt;
            &lt;French&gt;Regardez&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_Admin_Teleport"&gt;
            &lt;Original&gt;Teleport&lt;/Original&gt;
            &lt;English&gt;Teleport&lt;/English&gt;
            &lt;German&gt;Teleport&lt;/German&gt;
            &lt;French&gt;Teleport&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_Admin_TpHere"&gt;
            &lt;Original&gt;TP Here&lt;/Original&gt;
            &lt;English&gt;TP Here&lt;/English&gt;
            &lt;German&gt;TP Hier&lt;/German&gt;
            &lt;French&gt;TP Ici&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_Admin_Debug"&gt;
            &lt;Original&gt;Debug&lt;/Original&gt;
            &lt;English&gt;Debug&lt;/English&gt;
            &lt;German&gt;Debug&lt;/German&gt;
            &lt;French&gt;Debug&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_Admin_Compensate"&gt;
            &lt;Original&gt;Comp&lt;/Original&gt;
            &lt;English&gt;Comp&lt;/English&gt;
            &lt;German&gt;Comp&lt;/German&gt;
            &lt;French&gt;Comp&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_Admin_God"&gt;
            &lt;Original&gt;GodMode&lt;/Original&gt;
            &lt;English&gt;GodMode&lt;/English&gt;
            &lt;German&gt;Gott&lt;/German&gt;
            &lt;French&gt;Dieu&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_Admin_Freeze"&gt;
            &lt;Original&gt;Freeze&lt;/Original&gt;
            &lt;English&gt;Freeze&lt;/English&gt;
            &lt;German&gt;Freeze&lt;/German&gt;
            &lt;French&gt;Geler&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_Admin_Markers"&gt;
            &lt;Original&gt;Markers&lt;/Original&gt;
            &lt;English&gt;Markers&lt;/English&gt;
            &lt;German&gt;Markers&lt;/German&gt;
            &lt;French&gt;Markers&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_ANOTF_CompWarn"&gt;
            &lt;Original&gt;You are about to give yourself $%1 to compensate to another player &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;You must give this cash to the person you are compensating manually.&lt;/Original&gt;
            &lt;English&gt;You are about to give yourself $%1 to compensate to another player &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt;You must give this cash to the person you are compensating manually.&lt;/English&gt;
            &lt;German&gt;To Be Changed&lt;/German&gt;
            &lt;French&gt;Vous êtes sur le point de vous donner $%1 pour compenser à un autre joueur &amp;lt;br/&amp;gt;&amp;lt;br/&amp;gt; S'il vous plaît donner à cette à la personne vous compensez manuellement&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_ANOTF_Success"&gt;
            &lt;Original&gt;You have added $%1 to your account.&lt;/Original&gt;
            &lt;English&gt;You have added $%1 to your account.&lt;/English&gt;
            &lt;German&gt;To Be Changed&lt;/German&gt;
            &lt;French&gt;Vous avez ajouté $%1 à votre compte&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_ANOTF_Fail"&gt;
            &lt;Original&gt;You can not go above 999999.&lt;/Original&gt;
            &lt;English&gt;You can not go above 999999.&lt;/English&gt;
            &lt;German&gt;To Be Changed&lt;/German&gt;
            &lt;French&gt;Vous ne pouvez pas aller au-dessus $999999&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_ANOTF_Amount"&gt;
            &lt;Original&gt;Please type in the amount to compensate.&lt;/Original&gt;
            &lt;English&gt;Please type in the amount to compensate.&lt;/English&gt;
            &lt;German&gt;To Be Changed&lt;/German&gt;
            &lt;French&gt;S'il vous plaît entrer la quantité pour compenser&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_ANOTF_Frozen"&gt;
            &lt;Original&gt;You have disabled %1's input.&lt;/Original&gt;
            &lt;English&gt;You have disabled %1's input.&lt;/English&gt;
            &lt;German&gt;To Be Changed&lt;/German&gt;
            &lt;French&gt;Vous avez désactivé %1's contrôles&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_ANOTF_Unfrozen"&gt;
            &lt;Original&gt;You have enabled %1's input.&lt;/Original&gt;
            &lt;English&gt;You have enabled %1's input.&lt;/English&gt;
            &lt;German&gt;To Be Changed&lt;/German&gt;
            &lt;French&gt;Vous avez permis %1's contrôles&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_ANOTF_Error"&gt;
            &lt;Original&gt;You can't do that dumbass.&lt;/Original&gt;
            &lt;English&gt;You can't do that dumbass.&lt;/English&gt;
            &lt;German&gt;To Be Changed&lt;/German&gt;
            &lt;French&gt;Vous ne pouvez pas le faire sur vous-même&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_ANOTF_ErrorLevel"&gt;
            &lt;Original&gt;Your Admin Level is not high enough.&lt;/Original&gt;
            &lt;English&gt;Your Admin Level is not high enough.&lt;/English&gt;
            &lt;German&gt;To Be Changed&lt;/German&gt;
            &lt;French&gt;Votre Niveau admin n'est pas suffisamment élevée&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_ANOTF_MDisabled"&gt;
            &lt;Original&gt;Player Markers Disabled.&lt;/Original&gt;
            &lt;English&gt;Player Markers Disabled.&lt;/English&gt;
            &lt;German&gt;To Be Changed&lt;/German&gt;
            &lt;French&gt;Needs Translation&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_ANOTF_MEnabled"&gt;
            &lt;Original&gt;Player Markers Enabled.&lt;/Original&gt;
            &lt;English&gt;Player Markers Enabled.&lt;/English&gt;
            &lt;German&gt;To Be Changed&lt;/German&gt;
            &lt;French&gt;Needs Translation&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_NOTF_ActionCancel"&gt;
            &lt;Original&gt;Action Cancelled&lt;/Original&gt;
            &lt;English&gt;Action Cancelled&lt;/English&gt;
            &lt;German&gt;Aktion abgebrochen&lt;/German&gt;
            &lt;French&gt;Action Annulée&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_Global_Yes"&gt;
            &lt;Original&gt;Yes&lt;/Original&gt;
            &lt;English&gt;Yes&lt;/English&gt;
            &lt;German&gt;Ja&lt;/German&gt;
            &lt;French&gt;Oui&lt;/French&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_Global_No"&gt;
            &lt;Original&gt;No&lt;/Original&gt;
            &lt;English&gt;No&lt;/English&gt;
            &lt;German&gt;Nein&lt;/German&gt;
            &lt;French&gt;Aucun&lt;/French&gt;
        &lt;/Key&gt;
</code></pre>
<p dir="auto">4 . Toujours dans le même fichier juste en dessous Modifié Notification admin</p>
<pre><code>  &lt;Key ID="STR_NOTF_Frozen"&gt;
            &lt;Original&gt;You have been frozen by an administrator&lt;/Original&gt;
            &lt;English&gt;You have been frozen by an administrator&lt;/English&gt;
            &lt;German&gt;To Be Changed&lt;/German&gt;
        &lt;/Key&gt;
        &lt;Key ID="STR_NOTF_Unfrozen"&gt;
            &lt;Original&gt;You have been unfrozen by an administrator&lt;/Original&gt;
            &lt;English&gt;You have been unfrozen by an administrator&lt;/English&gt;
            &lt;German&gt;To Be Changed&lt;/German&gt;
        &lt;/Key&gt;
</code></pre>
<p dir="auto">5 . <strong>dialog\admin_menu.hpp</strong></p>
<pre><code>class life_admin_menu {
    idd = 2900;
    name= "life_admin_menu";
    movingEnable = false;
    enableSimulation = true;
    onLoad = "[] spawn life_fnc_adminMenu;";
    
    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.8;
            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.8;
            h = 0.6 - (2 / 250);
        };
    };
    
    class controls {

        
        class Title : Life_RscTitle {
            colorBackground[] = {0, 0, 0, 0};
            idc = 2901;
            text = "$STR_Admin_Title";
            x = 0.1;
            y = 0.2;
            w = 0.6;
            h = (1 / 25);
        };
        
        class PlayerList_Admin : Life_RscListBox
        {
            idc = 2902;
            text = "";
            sizeEx = 0.035;
            //colorBackground[] = {0,0,0,0};
            onLBSelChanged = "[_this] spawn life_fnc_adminQuery";
            
            x = 0.12; y = 0.26;
            w = 0.30; h = 0.4;
        };
        
        class PlayerBInfo : Life_RscStructuredText
        {
            idc = 2903;
            text = "";
            x = 0.42;
            y = 0.25;
            w = 0.35;
            h = 0.6;
        };

        class CloseButtonKey : Life_RscButtonMenu {
            idc = -1;
            text = "$STR_Global_Close";
            onButtonClick = "closeDialog 0;";
            x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
            y = 0.88 - (1 / 25);
            w = (6.25 / 40);
            h = (1 / 25);
        };
        
        class AdminID : Life_RscButtonMenu {
            idc = -1;
            text = "$STR_Admin_GetID";
            onButtonClick = "[] call life_fnc_admingetID;";
            x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
            y = 0.88 - (1 / 25);
            w = (6.25 / 40);
            h = (1 / 25);
        };
        
        class Compensate : Life_RscButtonMenu {
            idc = 2904;
            text = "$STR_Admin_Compensate";
            onButtonClick = "createDialog ""Life_Admin_Compensate"";";
            x = 0.26 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
            y = 0.88 - (1 / 25);
            w = (6.25 / 40);
            h = (1 / 25);
        };
        class Spectate : Life_RscButtonMenu {
            idc = 2905;
            text = "$STR_Admin_Spectate";
            onButtonClick = "[] call life_fnc_adminSpectate;";
            x = 0.42 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
            y = 0.88 - (1 / 25);
            w = (6.25 / 40);
            h = (1 / 25);
        };
        class Teleport : Life_RscButtonMenu {
            idc = 2906;
            text = "$STR_Admin_Teleport";
            onButtonClick = "[] call life_fnc_adminTeleport; hint 'Select where you would like to teleport';";
            x = 0.58 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
            y = 0.88 - (1 / 25);
            w = (6.25 / 40);
            h = (1 / 25);
        };
        class TeleportHere : Life_RscButtonMenu {
            idc = 2907;
            text = "$STR_Admin_TpHere";
            onButtonClick = "[] call life_fnc_adminTpHere;";
            x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
            y = 0.885;
            w = (6.25 / 40);
            h = (1 / 25);
        };
        class God : Life_RscButtonMenu {
            idc = 2908;
            text = "$STR_Admin_God";
            onButtonClick = "[] call life_fnc_adminGodMode;";
            x = 0.1 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
            y = 0.885;
            w = (6.25 / 40);
            h = (1 / 25);
        };
        class Freeze : Life_RscButtonMenu {
            idc = 2909;
            text = "$STR_Admin_Freeze";
            onButtonClick = "[] call life_fnc_adminFreeze;";
            x = 0.26 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
            y = 0.885;
            w = (6.25 / 40);
            h = (1 / 25);
        };
        class Markers : Life_RscButtonMenu {
            idc = 2910;
            text = "$STR_Admin_Markers";
            onButtonClick = "[] spawn life_fnc_adminMarkers;";
            x = 0.42 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
            y = 0.885;
            w = (6.25 / 40);
            h = (1 / 25);
        };
        class Debug : Life_RscButtonMenu {
            idc = 2911;
            text = "$STR_Admin_Debug";
            onButtonClick = "hint 'Disabled';";
            x = 0.58 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
            y = 0.885;
            w = (6.25 / 40);
            h = (1 / 25);
        };
    };
};
</code></pre>
<p dir="auto">6 . <strong>dialog\compensate.hpp</strong></p>
<pre><code>class Life_Admin_Compensate {
    idd = 9920;
    name= "life_admin_compensate_give";
    movingEnable = false;
    enableSimulation = true;
    onLoad = "[] spawn {waitUntil {!isNull (findDisplay 9920)}; ((findDisplay 9920) displayCtrl 9921) ctrlSetText localize ""STR_Admin_Amount""};";
    
    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 InfoMsg : Life_RscStructuredText
        {
            idc = 9921;
            sizeEx = 0.020;
            text = "";
            x = 0.1;
            y = 0.25;
            w = 0.5; h = 0.11;
        };
        
        class Title : Life_RscTitle {
            colorBackground[] = {0, 0, 0, 0};
            idc = -1;
            text = "$STR_Admin_Compensate";
            x = 0.1;
            y = 0.2;
            w = 0.5;
            h = (1 / 25);
        };

        class AdminCloseComp : Life_RscButtonMenu {
            idc = -1;
            text = "$STR_Global_Close";
            onButtonClick = "closeDialog 0;";
            x = -0.06 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
            y = 0.5 - (1 / 25);
            w = (6.25 / 40);
            h = (1 / 25);
        };
        
        class AdminCompensVer : Life_RscButtonMenu {
            idc = -1;
            text = "$STR_Admin_Compensate";
            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 = "[] spawn life_fnc_adminCompensate;";
            x = 0.27;
            y = 0.40;
            w = (6.25 / 40);
            h = (1 / 25);
        };
        
        class AdminCompensTex : Life_RscEdit
        {
            idc = 9922;
            text = "";
            x = 0.04 + (6.25 / 40) + (1 / 250 / (safezoneW / safezoneH));
            y = 0.35;
            w = (13 / 40);
            h = (1 / 25);
        };
    };
};
</code></pre>
<ol start="7">
<li><strong>dialog\MasterHandler.h</strong></li>
</ol>
<pre><code>#include "compensate.hpp"
</code></pre>
<p dir="auto">8 . <strong>core\admin\fn_adminMenu.sqf</strong></p>
<pre><code>#include &lt;macro.h&gt;
/*
    File: fn_adminMenu.sqf
    Author: Bryan "Tonic" Boardwine
    
    Description:
    Opens the admin menu, sorry nothing special in here. Take a look for yourself.
*/
if(__GETC__(life_adminlevel) &lt; 1) exitWith {closeDialog 0;};
private["_display","_list","_side"];
disableSerialization;
waitUntil {!isNull (findDisplay 2900)};
_display = findDisplay 2900;
_list = _display displayCtrl 2902;
if(__GETC__(life_adminlevel) &lt; 1) exitWith {closeDialog 0;};

switch(__GETC__(life_adminlevel)) do
{
    case 1: {ctrlShow [2904,false];ctrlShow [2905,false];ctrlShow [2906,false];ctrlShow [2907,false];ctrlShow [2908,false];ctrlShow [2909,false];ctrlShow [2910,false];ctrlShow [2911,false];};
    case 2: {ctrlShow [2905,false];ctrlShow [2906,false];ctrlShow [2907,false];ctrlShow [2908,false];ctrlShow [2909,false];ctrlShow [2910,false];ctrlShow [2911,false];};
    case 3: {ctrlShow [2907,false];ctrlShow [2908,false];ctrlShow [2909,false];ctrlShow [2910,false];ctrlShow [2911,false];};
    case 4: {[2911,false];};
};

//Purge List
lbClear _list;

{
    _side = switch(side _x) do {case west: {"Cop"}; case civilian : {"Civ"}; case independent : {"Med"}; default {"Unknown"};};
    _list lbAdd format["%1 - %2", _x getVariable["realname",name _x],_side];
    _list lbSetdata [(lbSize _list)-1,str(_x)];
} foreach playableUnits;
if(__GETC__(life_adminlevel) &lt; 1) exitWith {closeDialog 0;};
</code></pre>
<p dir="auto">9 . <strong>core\admin\fn_adminSpectate.sqf</strong></p>
<pre><code>#include &lt;macro.h&gt;
/*
    File: fn_adminSpectate.sqf
    Author: ColinM9991
    
    Description:
    Spectate the chosen player.
*/
if(__GETC__(life_adminlevel) == 0) exitWith {closeDialog 0;};

private["_unit"];
_unit = lbData[2902,lbCurSel (2902)];
_unit = call compile format["%1", _unit];
if(isNil "_unit") exitwith {};
if(isNull _unit) exitWith {};
if(_unit == player) exitWith {hint localize "STR_ANOTF_Error";};

[] spawn {
while {dialog} do {
closeDialog 0;
sleep 0.01;
};
};

_unit switchCamera "INTERNAL";
hint format["You are now spectating %1 \n\n Press F10 to stop Spectating.",_unit getVariable["realname",name _unit]];
AM_Exit = (findDisplay 46) displayAddEventHandler ["KeyDown","if((_this select 1) == 68) then {(findDisplay 46) displayRemoveEventHandler ['KeyDown',AM_Exit];player switchCamera 'INTERNAL';hint 'You have stopped spectating';};false"];
</code></pre>
<p dir="auto">10 . <strong>core\admin\fn_adminTeleport.sqf</strong></p>
<pre><code>#include &lt;macro.h&gt;
/*
    File: fn_adminTeleport.sqf
    Author: ColinM9991
    Credits: To original script author(s)
    Description:
    Teleport to chosen position.
*/
if(__GETC__(life_adminlevel) == 0) exitWith {closeDialog 0;};

[] spawn {
while {dialog} do {
closeDialog 0;
sleep 0.01;
};
};

tele={
    _pos = [_this select 0, _this select 1, _this select 2];
    (vehicle player) setpos [_pos select 0, _pos select 1, 0];
    onMapSingleClick "";
    openMap [false, false];
    hint "You have teleported to your selected position";
};
openMap [true, false];
onMapSingleClick "[_pos select 0, _pos select 1, _pos select 2] call tele";
</code></pre>
<p dir="auto">11. <strong>core\admin\fn_adminTpHere.sqf</strong></p>
<pre><code>#include &lt;macro.h&gt;
/*
    File: fn_adminTpHere.sqf
    Author: ColinM9991
    
    Description:
    Teleport selected player to you.
*/
if(__GETC__(life_adminlevel) == 0) exitWith {closeDialog 0;};

private["_target"];
_target = lbData[2902,lbCurSel (2902)];
_target = call compile format["%1", _target];
if(isNil "_target") exitwith {};
if(isNull _target) exitWith {};
if(_unit == player) exitWith {hint localize "STR_ANOTF_Error";};

_target setPos (getPos player);
hint format["You have teleported %1 to your location",_target getVariable["realname",name _target]];
</code></pre>
<p dir="auto">12. <strong>core\admin\fn_adminCompensate.sqf</strong></p>
<pre><code>#include &lt;macro.h&gt;
/*
    File: fn_adminCompensate.sqf
    Author: ColinM9991
    
    Description:
    Figure it out.
*/
private["_value","_action"];
if(__GETC__(life_adminlevel) &lt; 2) exitWith {closeDialog 0; hint localize "STR_ANOTF_ErrorLevel";};
_value = parseNumber(ctrlText 9922);
if(_value &lt; 0) exitWith {};
if(_value &gt; 999999) exitWith {hint localize "STR_ANOTF_Fail"};
//if(!([str(_value)] call life_fnc_isnumeric)) exitWith {hint localize "STR_AIM_notnumeric"};

_action = [
    format [localize "STR_ANOTF_CompWarn",[_value] call life_fnc_numberText],
    localize "STR_Admin_Compensate",
    localize "STR_Global_Yes",
    localize "STR_Global_No"
] call BIS_fnc_guiMessage;

if(_action) then {
    life_cash = life_cash + _value;
    hint format [localize "STR_ANOTF_Success",[_value] call life_fnc_numberText];
    closeDialog 0;
} else {
    hint localize "STR_NOTF_ActionCancel";
    closeDialog 0;
};
</code></pre>
<ol start="13">
<li><strong>core\admin\fn_adminDebugCon.sqf</strong></li>
</ol>
<pre><code>#include &lt;macro.h&gt;
/*
    File: fn_adminDebugCon.sqf
    Author: ColinM9991
    
    Description:
    Opens the Debug Console.
*/
if(__GETC__(life_adminlevel) &lt; 3) exitWith {closeDialog 0; hint "You have no business using this";};

createDialog "RscDisplayDebugPublic";
[[0,format["Admin %1 has opened the Debug Console.",profileName]],"life_fnc_broadcast",nil,false] spawn life_fnc_MP;
</code></pre>
<p dir="auto">14. <strong>core\admin\fn_adminGodMode.sqf</strong></p>
<pre><code>#include &lt;macro.h&gt;
/*
    File: fn_adminGodMode.sqf
    Author: Tobias 'Xetoxyc' Sittenauer

    Description: Enables God mode for Admin
*/

if(__GETC__(life_adminlevel) &lt; 3) exitWith {closeDialog 0; hint localize "STR_ANOTF_ErrorLevel";};

[] spawn {
while {dialog} do {
closeDialog 0;
sleep 0.01;
};
};

if(life_god) then {
    life_god = false;
    titleText ["God mode disabled","PLAIN"]; titleFadeOut 2;
    player allowDamage true;
} else {
    life_god = true;
    titleText ["God mode enabled","PLAIN"]; titleFadeOut 2;
    player allowDamage false;
};
</code></pre>
<p dir="auto">15. <strong>core\admin\fn_adminFreeze.sqf</strong></p>
<pre><code>#include &lt;macro.h&gt;
/*
    File: fn_adminFreeze.sqf
    Author: ColinM9991

    Description: Freezes selected player
*/
if(__GETC__(life_adminlevel) &lt; 3) exitWith {closeDialog 0; hint localize "STR_ANOTF_ErrorLevel";};

private["_unit"];
_unit = lbData[2902,lbCurSel (2902)];
_unit = call compile format["%1", _unit];
if(isNil "_unit") exitWith {};
if(isNull _unit) exitWith {};
if(_unit == player) exitWith {hint localize "STR_ANOTF_Error";};

[[player],"life_fnc_freezePlayer",_unit,false] spawn life_fnc_MP;
</code></pre>
<p dir="auto">16 . <strong>core\admin\fn_adminMarkers.sqf</strong></p>
<pre><code>#include &lt;macro.h&gt;
/*
    File: fn_adminMarkers.sqf
    Sourced from Lystics Player Markers Loop
*/
if(__GETC__(life_adminlevel) &lt; 3) exitWith {closeDialog 0; hint localize "STR_ANOTF_ErrorLevel";};
life_markers = !life_markers;
if(life_markers) then {
    PlayerMarkers = [];
    FinishedLoop = false;
    hint localize "STR_ANOTF_MEnabled";
    while{life_markers} do {
        {
            if !(_x in allUnits) then {
                deleteMarkerLocal str _x;
            };
        } forEach PlayerMarkers;
        PlayerMarkers = [];
        {
            if(alive _x &amp;&amp; isplayer _x) then {
                deleteMarkerLocal str _x;
                _pSee = createMarkerLocal [str _x,getPos _x];
                _pSee setMarkerTypeLocal "mil_triangle";
                _pSee setMarkerPosLocal getPos _x;
                _pSee setMarkerSizeLocal [1,1];
                _pSee setMarkerTextLocal format['%1',_x getVariable["realname",name _x]];
                _pSee setMarkerColorLocal ("ColorRed");
                PlayerMarkers = PlayerMarkers + [_x];
        };
    } forEach allUnits;
    sleep 0.2;
};
FinishedLoop = true;
} else {
    if(isNil "FinishedLoop") exitWith {};
    hint localize "STR_ANOTF_MDisabled";
    waitUntil{FinishedLoop};
    {
        deleteMarkerLocal str _x;
    } forEach PlayerMarkers;    
};
</code></pre>
<p dir="auto">17. <strong>core\configuration.sqf</strong></p>
<pre><code>life_god = false; //Add this
life_frozen = false; //And this
life_markers = false; //Finally this
</code></pre>
<p dir="auto">18 . <strong>Nouveau fichier dans core\civilian est nommé le****fn_freezePlayer.sqf</strong></p>
<pre><code>#include &lt;macro.h&gt;
/*
    File: fn_freezePlayer.sqf
    Author: ColinM9991

    Description: Freezes selected player
*/
private["_admin"];
_admin = [_this,0,ObjNull,[ObjNull]] call BIS_fnc_param;

if(life_frozen) then {
    hint localize "STR_NOTF_Unfrozen";
    [[1,format[localize "STR_ANOTF_Unfrozen",profileName]],"life_fnc_broadcast",_admin,false] spawn life_fnc_MP;
    disableUserInput false;
    life_frozen = false;
} else {
    hint localize "STR_NOTF_Frozen";
    [[1,format[localize "STR_ANOTF_Frozen",profileName]],"life_fnc_broadcast",_admin,false] spawn life_fnc_MP;
    disableUserInput true;
    life_frozen = true;
};
</code></pre>
<p dir="auto">Voila , aurevoir et au fait je suis de retour <img src="http://new.melinyel.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61b.png?v=aa95655114f" class="not-responsive emoji emoji-android emoji--stuck_out_tongue" style="height:23px;width:auto;vertical-align:middle" title=":P" alt="😛" /></p>
]]></description><link>http://new.melinyel.net/topic/1327/admin-menu-3148</link><generator>RSS for Node</generator><lastBuildDate>Thu, 21 May 2026 18:35:48 GMT</lastBuildDate><atom:link href="http://new.melinyel.net/topic/1327.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 17 Nov 2014 15:13:29 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Thu, 18 Feb 2016 16:05:37 GMT]]></title><description><![CDATA[<p dir="auto">Depuis que j'ai mit le menu admin j'ai plus rien sur le marché la ou on achète la nourriture etc.... help please <img src="http://new.melinyel.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f622.png?v=aa95655114f" class="not-responsive emoji emoji-android emoji--cry" style="height:23px;width:auto;vertical-align:middle" title=":'(" alt="😢" /></p>
<p dir="auto">Non c'est bon j'ai rien dit sais mon amis qui a voulut faire la bourse dsl</p>
]]></description><link>http://new.melinyel.net/post/17639</link><guid isPermaLink="true">http://new.melinyel.net/post/17639</guid><dc:creator><![CDATA[mrsfalko]]></dc:creator><pubDate>Thu, 18 Feb 2016 16:05:37 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Sat, 05 Dec 2015 13:37:32 GMT]]></title><description><![CDATA[<ul>
<li>Bonjour quand j'installe le Menu admin avec les teleportation et tout avec le tutoriel et bien le serveur ce bloque je n'avance pu quand je charge les fichier missions vous savez pourquoi ?.</li>
</ul>
]]></description><link>http://new.melinyel.net/post/17566</link><guid isPermaLink="true">http://new.melinyel.net/post/17566</guid><dc:creator><![CDATA[Sirasor14]]></dc:creator><pubDate>Sat, 05 Dec 2015 13:37:32 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Thu, 20 Nov 2014 15:50:19 GMT]]></title><description><![CDATA[<p dir="auto"><strong>Message automatique</strong></p>
<p dir="auto">Le sujet a été déplacé de « [Émulation](&lt;<em><strong>base_url</strong></em>&gt;/forum/59-%C3%A9mulation/) → [Arma III](&lt;<em><strong>base_url</strong></em>&gt;/forum/120-arma-iii/) » à « [Émulation](&lt;<em><strong>base_url</strong></em>&gt;/forum/59-%C3%A9mulation/) → [Arma III](&lt;<em><strong>base_url</strong></em>&gt;/forum/120-arma-iii/) → [Tutoriels](&lt;<em><strong>base_url</strong></em>&gt;/forum/207-tutoriels/) ».</p>
]]></description><link>http://new.melinyel.net/post/14029</link><guid isPermaLink="true">http://new.melinyel.net/post/14029</guid><dc:creator><![CDATA[vfrz]]></dc:creator><pubDate>Thu, 20 Nov 2014 15:50:19 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Tue, 18 Nov 2014 17:47:08 GMT]]></title><description><![CDATA[<p dir="auto">C'est se que utilise la majorité des serveurs , maintenant</p>
]]></description><link>http://new.melinyel.net/post/13965</link><guid isPermaLink="true">http://new.melinyel.net/post/13965</guid><dc:creator><![CDATA[ArrowDark]]></dc:creator><pubDate>Tue, 18 Nov 2014 17:47:08 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Tue, 18 Nov 2014 17:11:55 GMT]]></title><description><![CDATA[<p dir="auto">ha ok merci de l'info <img src="http://new.melinyel.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=aa95655114f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>http://new.melinyel.net/post/13960</link><guid isPermaLink="true">http://new.melinyel.net/post/13960</guid><dc:creator><![CDATA[subherox]]></dc:creator><pubDate>Tue, 18 Nov 2014 17:11:55 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Tue, 18 Nov 2014 16:58:11 GMT]]></title><description><![CDATA[<p dir="auto">Ouai mais faut savoir faire un minimum de script , cette admin menu permet de  Voir les gens sur la carte , se givé de l'argent , tp , voir l'argent des gens , tp les gens sur soi , god mod ect</p>
]]></description><link>http://new.melinyel.net/post/13958</link><guid isPermaLink="true">http://new.melinyel.net/post/13958</guid><dc:creator><![CDATA[ArrowDark]]></dc:creator><pubDate>Tue, 18 Nov 2014 16:58:11 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Tue, 18 Nov 2014 14:06:42 GMT]]></title><description><![CDATA[<p dir="auto">mais on peut ajouter des choses supplémentaire comme le kick ou ban?</p>
]]></description><link>http://new.melinyel.net/post/13954</link><guid isPermaLink="true">http://new.melinyel.net/post/13954</guid><dc:creator><![CDATA[subherox]]></dc:creator><pubDate>Tue, 18 Nov 2014 14:06:42 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Tue, 18 Nov 2014 13:50:45 GMT]]></title><description><![CDATA[<p dir="auto">Il y a plus de fonctions telle que la teleportation <img src="http://new.melinyel.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=aa95655114f" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>http://new.melinyel.net/post/13953</link><guid isPermaLink="true">http://new.melinyel.net/post/13953</guid><dc:creator><![CDATA[vfrz]]></dc:creator><pubDate>Tue, 18 Nov 2014 13:50:45 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Tue, 18 Nov 2014 12:26:59 GMT]]></title><description><![CDATA[<p dir="auto">salut,</p>
<p dir="auto">Juste une petite question quel est la différence entre le tiens de menus admin et celui qu'il y a de base quand on met arma 3/ altis life?</p>
]]></description><link>http://new.melinyel.net/post/13949</link><guid isPermaLink="true">http://new.melinyel.net/post/13949</guid><dc:creator><![CDATA[subherox]]></dc:creator><pubDate>Tue, 18 Nov 2014 12:26:59 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Tue, 18 Nov 2014 09:54:44 GMT]]></title><description><![CDATA[<p dir="auto">Ok <img src="http://new.melinyel.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=aa95655114f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /> Cool ! <img src="http://new.melinyel.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61b.png?v=aa95655114f" class="not-responsive emoji emoji-android emoji--stuck_out_tongue" style="height:23px;width:auto;vertical-align:middle" title=":P" alt="😛" /></p>
]]></description><link>http://new.melinyel.net/post/13943</link><guid isPermaLink="true">http://new.melinyel.net/post/13943</guid><dc:creator><![CDATA[ArrowDark]]></dc:creator><pubDate>Tue, 18 Nov 2014 09:54:44 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Tue, 18 Nov 2014 08:56:33 GMT]]></title><description><![CDATA[<p dir="auto">Ok je te donnerais ça quand j'aurais le menu admin <img src="http://new.melinyel.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61b.png?v=aa95655114f" class="not-responsive emoji emoji-android emoji--stuck_out_tongue" style="height:23px;width:auto;vertical-align:middle" title=":P" alt="😛" /> Bientôt il y aura un sous forum spécial pour les tutos si Azad le fait x)</p>
]]></description><link>http://new.melinyel.net/post/13940</link><guid isPermaLink="true">http://new.melinyel.net/post/13940</guid><dc:creator><![CDATA[vfrz]]></dc:creator><pubDate>Tue, 18 Nov 2014 08:56:33 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Tue, 18 Nov 2014 07:12:59 GMT]]></title><description><![CDATA[<p dir="auto">Ah , je vois que mon idée des préfixe a était volé par un certain EdgeKiller , Je demande Remboursement de 300 000 dollars <img src="http://new.melinyel.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f61b.png?v=aa95655114f" class="not-responsive emoji emoji-android emoji--stuck_out_tongue" style="height:23px;width:auto;vertical-align:middle" title=":P" alt="😛" /></p>
]]></description><link>http://new.melinyel.net/post/13934</link><guid isPermaLink="true">http://new.melinyel.net/post/13934</guid><dc:creator><![CDATA[ArrowDark]]></dc:creator><pubDate>Tue, 18 Nov 2014 07:12:59 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Mon, 17 Nov 2014 20:38:28 GMT]]></title><description><![CDATA[<p dir="auto">Merci <img src="http://new.melinyel.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=aa95655114f" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:23px;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>http://new.melinyel.net/post/13928</link><guid isPermaLink="true">http://new.melinyel.net/post/13928</guid><dc:creator><![CDATA[vfrz]]></dc:creator><pubDate>Mon, 17 Nov 2014 20:38:28 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Mon, 17 Nov 2014 18:53:52 GMT]]></title><description><![CDATA[<p dir="auto">Je vais te prendre ça <img src="http://new.melinyel.net/assets/plugins/nodebb-plugin-emoji/emoji/android/1f609.png?v=aa95655114f" class="not-responsive emoji emoji-android emoji--wink" style="height:23px;width:auto;vertical-align:middle" title=";)" alt="😉" /></p>
]]></description><link>http://new.melinyel.net/post/13921</link><guid isPermaLink="true">http://new.melinyel.net/post/13921</guid><dc:creator><![CDATA[ArrowDark]]></dc:creator><pubDate>Mon, 17 Nov 2014 18:53:52 GMT</pubDate></item><item><title><![CDATA[Reply to Admin Menu 3.1.4.8 on Mon, 17 Nov 2014 18:44:51 GMT]]></title><description><![CDATA[<p dir="auto">Merci pour ce tuto, possible d'avoir une screenshot ?</p>
]]></description><link>http://new.melinyel.net/post/13916</link><guid isPermaLink="true">http://new.melinyel.net/post/13916</guid><dc:creator><![CDATA[vfrz]]></dc:creator><pubDate>Mon, 17 Nov 2014 18:44:51 GMT</pubDate></item></channel></rss>