Jump to content

(AOW)Recon

Member
  • Posts

    125
  • Joined

  • Last visited

Posts posted by (AOW)Recon

  1.  [] spawn {
        hint "You just smoked a huge blunt! Feel the high kick in! (lasts 90 seconds)";
        player removeMagazine 'ItemKiloHemp';
        player setDamage 0;
        r_player_inpain = false;
        r_player_injured = false;
        dayz_hunger    = dayz_hunger + 0.4;
        dayz_thirst = dayz_thirst + 0.4;
        r_player_lowblood = 	false;
        dayz_sourceBleeding =	objNull;
        player setVariable ["USEC_injured",false,true];
       {player setVariable[_x,false,true];} forEach USEC_woundHit;
        player setVariable['medForceUpdate',true,true];
    	
        Remove_Drug_effects =
        {
    		{ppEffectDestroy _x;} forEach (_this select 0);
    		ppEffectDestroy ppe2;
    		ppEffectDestroy ppe3;
    		setaperture 0;
    	};
    	
        _time = time;
        _effects = [];
        player playMoveNow "ActsPercMstpSnonWpstDnon_sceneBardak01";
        while {true} do
    		{
    		Flare = "SmokeShellGreen" createVehicle position player;
    		if (vehicle player != player) then { Flare attachTo [vehicle player,[0,0,0.]];}
    		else {Flare attachTo [player,[0,0,0.]];}
    		ppe2 = ppEffectCreate ["chromAberration", 1555];
    		_effects = _effects + [ppe2];
    		ppe2 ppEffectAdjust [random 0.25,random 0.25,true];
    		ppe2 ppEffectCommit 1;
    		ppe2 ppEffectEnable true;
    		ppe3 = ppEffectCreate ["radialBlur", 1555];
    		_effects = _effects + [ppe3];
    		ppe3 ppEffectEnable true;
    		ppe3 ppEffectAdjust [random 0.02,random 0.02,0.15,0.15];
    		ppe3 ppEffectCommit 1;
    		sleep random(1);
    		if (_time + 90 < time) exitWith {[_effects] call Remove_Drug_effects;};
    		};
     };
    

    Here is a modified code. I have fixed the brackets :)

     

    Heals Player, Removes thirst, hunger and pain.

    Also have green smoke coming from the players head.

     

    lol i was just about to post the same thing i fixed it aswell :)

  2. Try this out btw i found the error with notepad++ yall should look it was not closeing the first one

     

    [] spawn {

        hint "You just smoked a huge blunt and youre now high as crazy fuck (lasts 90 seconds)";
        player removeMagazine 'ItemKiloHemp';
        player setDamage 0;
        r_player_inpain = false;
        r_player_injured = false;
        dayz_hunger    = dayz_hunger + 0.4;
        dayz_thirst = dayz_thirst + 0.4;
        r_player_lowblood = false;
        dayz_sourceBleeding = objNull;
        player setVariable ["USEC_injured",false,true];
       {player setVariable[_x,false,true];} forEach USEC_woundHit;
        player setVariable['medForceUpdate',true,true];
        Remove_Drug_effects =
        }
        {
        {
        ppEffectDestroy _x;
        } forEach (_this select 0);
        ppEffectDestroy ppe2;
        ppEffectDestroy ppe3;
        setaperture 0;
        };
        _time = time;
        _effects = [];
        player playMoveNow "ActsPercMstpSnonWpstDnon_sceneBardak01";
        while {true} do
        {
    Flare = "SmokeShellGreen" createVehicle position player;
    if (vehicle player != player) then { Flare attachTo [vehicle player,[0,0,0.]];}
    else {Flare attachTo [player,[0,0,0.]];}
        ppe2 = ppEffectCreate ["chromAberration", 1555];
        _effects = _effects + [ppe2];
        ppe2 ppEffectAdjust [random 0.25,random 0.25,true];
        ppe2 ppEffectCommit 1;
        ppe2 ppEffectEnable true;
        ppe3 = ppEffectCreate ["radialBlur", 1555];
        _effects = _effects + [ppe3];
        ppe3 ppEffectEnable true;
        ppe3 ppEffectAdjust [random 0.02,random 0.02,0.15,0.15];
        ppe3 ppEffectCommit 1;
        sleep random(1);
        if (_time + 90 < time) exitWith {[_effects] call Remove_Drug_effects;};

     };

     

  3. If you want it to be for you or VIP's

    if ((getPlayerUID player) in ["76561198159452610","76561198137898990","76561198001093549","76561198076139056","76561198093792698","76561198146424231","76561198092220317"]) then {
    // Add extra context menus
    _erc_cfgActions = (missionConfigFile >> "ExtraRc" >> _item);
    _erc_numActions = (count _erc_cfgActions);
    if (isClass _erc_cfgActions) then {
        for "_j" from 0 to (_erc_numActions - 1) do 
        {
            _menu =  _parent displayCtrl (1600 + _j + _numActions);
            _menu ctrlShow true;
            _config =  (_erc_cfgActions select _j);
            _text =  getText (_config >> "text");
            _script =  getText (_config >> "script");
            _height = _height + (0.025 * safezoneH);
            uiNamespace setVariable ['uiControl', _control];
            _menu ctrlSetText _text;
            _menu ctrlSetEventHandler ["ButtonClick",_script];
        };
    };
    };
    
  4. Hello People's Of DayZ

     

    Im Going to Show you How to install Coin's add on for infastar

    ==========================

    You need to have the FULL version of infastar

    ===============================

    Picture's

    https://www.dropbox.com/sc/z8jkrtxuw3tu5at/AACyAMFpemEiAHUtD3fQewX1a

     

    ===============================

    If You want me to make a tut on how to add the coin thing to infastar debug i well do so

    ===============================

    Thank AlexLawson For call BIS_fnc_numberText

     

     

    First Find AH.sqf in you're "init" Folder

     

    Then Find the following in your "AH.sqf"

    _log2 = format['Blood: %1  Humanity: %2
    

    And replace that with (only if you have Zupa 3.0)

    _log2 = format['Blood: %1  Humanity: %2  Coins: %3',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0]),(_unit getVariable['cashMoney',0] call BIS_fnc_numberText)];

    If You have Global Banking (E.X Zupa 1.1)

    _log2 = format['Blood: %1  Humanity: %2  Coins: %3   Bank: 4%',(_unit getVariable['USEC_BloodQty',12000]),(_unit getVariable['humanity',0]),(_unit getVariable['headShots',0] call BIS_fnc_numberText),(_unit getVariable['bank',0])];

    Then Find:

    adminadd = adminadd + ["   +View TimeLord Menu","AAATime","0","0","1","0",[0,0.6,1,1]];
    			adminadd = adminadd + [(format["   -View Surveillance Log: (%1)",((count PV_SurveillanceLog)-1)]),"SurveillanceLog","0","0","1","0",[0,0.6,1,1]];
    			adminadd = adminadd + [(format["   -View Hacker Log: (%1)",((count PV_hackerL0og)-1)]),"hackerLog","0","0","1","0",[0,0.6,1,1]];
    			adminadd = adminadd + [(format["   -View TempBanned Log: (%1)",round((count PVAH_AHTMPBAN)/2)]),"tempbanned","0","0","1","0",[0,0.6,1,1]];
    		};
    		adminadd = adminadd + ["============================================================","","0","1","0","0",[]];
    	};
    

    And under that Put:

    admin_fillCoinMenu =
    	{
    		inSub = false;
    		_ctrl = 2 call getControl;
    		lbclear _ctrl;
    		_ctrl ctrlSetFont "TahomaB";
    		adminadd = [];
    		call admin_fillsubsss;
    		adminadd = adminadd + ["  Give +1 Coin",admincoinPlusa4,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -1 Coin",admincoinMinusa4,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +5 Coin",admincoinPlusa3,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -5 Coin",admincoinMinusa3,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +10 Coin",admincoinPlusa2,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -10 Coin",admincoinMinusa2,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +50 Coin",admincoinPlusa1,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -50 Coin",admincoinMinusa1,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +100 Coin",admincoinPlus,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -100 Coin",admincoinMinus,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +500 Coin",admincoinPlus1,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -500 Coin",admincoinMinus1,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +2500 Coin",admincoinPlus2,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -2500 Coin",admincoinMinus2,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +5000 Coin",admincoinPlus3,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -5000 Coin",admincoinMinus3,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +10000 Coin",admincoinPlus4,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -10000 Coin",admincoinMinus4,"0","0","0","1",[0,0.8,1,1]];
    	        adminadd = adminadd + ["  Give +50000 Coin",admincoinPlus5,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -50000 Coin",admincoinMinus5,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +100000 Coin",admincoinPlus6,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -100000 Coin",admincoinMinus6,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +500000 Coin",admincoinPlus7,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -500000 Coin",admincoinMinus7,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +IM RICH BITCH",admincoinPlusRich,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -IM RICH BITCH",admincoinMinusRich,"0","0","0","1",[0,0.8,1,1]];
    		call admin__FILL_MENUS;
    	};	
    

    So It Looks Like

    			adminadd = adminadd + ["   +View TimeLord Menu","AAATime","0","0","1","0",[0,0.6,1,1]];
    			adminadd = adminadd + [(format["   -View Surveillance Log: (%1)",((count PV_SurveillanceLog)-1)]),"SurveillanceLog","0","0","1","0",[0,0.6,1,1]];
    			adminadd = adminadd + [(format["   -View Hacker Log: (%1)",((count PV_hackerL0og)-1)]),"hackerLog","0","0","1","0",[0,0.6,1,1]];
    			adminadd = adminadd + [(format["   -View TempBanned Log: (%1)",round((count PVAH_AHTMPBAN)/2)]),"tempbanned","0","0","1","0",[0,0.6,1,1]];
    		};
    		adminadd = adminadd + ["============================================================","","0","1","0","0",[]];
    	};
    	admin_fillCoinMenu =
    	{
    		inSub = false;
    		_ctrl = 2 call getControl;
    		lbclear _ctrl;
    		_ctrl ctrlSetFont "TahomaB";
    		adminadd = [];
    		call admin_fillsubsss;
    		adminadd = adminadd + ["  Give +1 Coin",admincoinPlusa4,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -1 Coin",admincoinMinusa4,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +5 Coin",admincoinPlusa3,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -5 Coin",admincoinMinusa3,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +10 Coin",admincoinPlusa2,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -10 Coin",admincoinMinusa2,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +50 Coin",admincoinPlusa1,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -50 Coin",admincoinMinusa1,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +100 Coin",admincoinPlus,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -100 Coin",admincoinMinus,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +500 Coin",admincoinPlus1,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -500 Coin",admincoinMinus1,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +2500 Coin",admincoinPlus2,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -2500 Coin",admincoinMinus2,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +5000 Coin",admincoinPlus3,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -5000 Coin",admincoinMinus3,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +10000 Coin",admincoinPlus4,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -10000 Coin",admincoinMinus4,"0","0","0","1",[0,0.8,1,1]];
    	        adminadd = adminadd + ["  Give +50000 Coin",admincoinPlus5,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -50000 Coin",admincoinMinus5,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +100000 Coin",admincoinPlus6,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -100000 Coin",admincoinMinus6,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +500000 Coin",admincoinPlus7,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -500000 Coin",admincoinMinus7,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give +IM RICH BITCH",admincoinPlusRich,"0","0","0","1",[0,0.8,1,1]];
    		adminadd = adminadd + ["  Give -IM RICH BITCH",admincoinMinusRich,"0","0","0","1",[0,0.8,1,1]];
    		call admin__FILL_MENUS;
    	};	
    
    

    Then Find:

    	adminHumanityPlus =
    	{
    		{
    			if (name _x == _this select 0) then
    			{
    				_humanity = _x getVariable['humanity',0];
    				_x setVariable['humanity',_humanity+2500,true];
    				hint format['Gave %1 +2500 Humanity!',_this select 0];
    

    Above that put:

     

            admincoinPlusa4 =


        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney+1,true];
                    hint format['Gave %1 +1 Coins!',_this select 0];
                    
                    _sl = format['%1 plus 1 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinMinusa4 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney-1,true];
                    hint format['Gave %1 -1 Coins!',_this select 0];
                    
                    _sl = format['%1 minus 1 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinPlusa3 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney+5,true];
                    hint format['Gave %1 +5 Coins!',_this select 0];
                    
                    _sl = format['%1 plus 5 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinMinusa3 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney-5,true];
                    hint format['Gave %1 -5 Coins!',_this select 0];
                    
                    _sl = format['%1 minus 5 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinPlusa2 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney+10,true];
                    hint format['Gave %1 +10 Coins!',_this select 0];
                    
                    _sl = format['%1 plus 10 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinMinusa2 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney-10,true];
                    hint format['Gave %1 -10 Coins!',_this select 0];
                    
                    _sl = format['%1 minus 10 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
            admincoinPlusa1 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney+50,true];
                    hint format['Gave %1 +50 Coins!',_this select 0];
                    
                    _sl = format['%1 plus 50 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinMinusa1 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney-50,true];
                    hint format['Gave %1 -50 Coins!',_this select 0];
                    
                    _sl = format['%1 minus 50 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinPlus =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney+100,true];
                    hint format['Gave %1 +100 Coins!',_this select 0];
                    
                    _sl = format['%1 plus 100 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinMinus =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney-100,true];
                    hint format['Gave %1 -100 Coins!',_this select 0];
                    
                    _sl = format['%1 minus 100 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinPlus1 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney+500,true];
                    hint format['Gave %1 +500 Coins!',_this select 0];
                    
                    _sl = format['%1 plus 500 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinMinus1 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney-500,true];
                    hint format['Gave %1 -500 cashMoney!',_this select 0];
                    
                    _sl = format['%1 minus 500 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinPlus2 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney+2500,true];
                    hint format['Gave %1 +2500 Coins!',_this select 0];
                    
                    _sl = format['%1 plus 2500 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinMinus2 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney-2500,true];
                    hint format['Gave %1 -2500 Coins!',_this select 0];
                    
                    _sl = format['%1 minus 2500 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinPlus3 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney+5000,true];
                    hint format['Gave %1 +5000 Coins!',_this select 0];
                    
                    _sl = format['%1 plus 5000 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinMinus3 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney-5000,true];
                    hint format['Gave %1 -5000 Coins!',_this select 0];
                    
                    _sl = format['%1 minus 5000 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinPlus4 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney+10000,true];
                    hint format['Gave %1 +10000 Coins!',_this select 0];
                    
                    _sl = format['%1 plus 10000 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinMinus4 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney-10000,true];
                    hint format['Gave %1 -10000 Coins!',_this select 0];
                    
                    _sl = format['%1 minus 10000 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
            admincoinPlus5 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney+50000,true];
                    hint format['Gave %1 +50000 Coins!',_this select 0];
                    
                    _sl = format['%1 plus 50000 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinMinus5 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney-50000,true];
                    hint format['Gave %1 -50000 Coins!',_this select 0];
                    
                    _sl = format['%1 minus 50000 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
            admincoinPlus6 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney+100000,true];
                    hint format['Gave %1 +100000 Coins!',_this select 0];
                    
                    _sl = format['%1 plus 100000 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinMinus6 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney-100000,true];
                    hint format['Gave %1 -100000 Coins!',_this select 0];
                    
                    _sl = format['%1 minus 100000 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
            admincoinPlus7 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney+500000,true];
                    hint format['Gave %1 +500000 Coins!',_this select 0];
                    
                    _sl = format['%1 plus 500000 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinMinus7 =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney-500000,true];
                    hint format['Gave %1 -500000 Coins!',_this select 0];
                    
                    _sl = format['%1 minus 500000 Coins to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinPlusRich =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney+100000000000,true];
                    hint format['Gave %1 +100000000000 Coins!',_this select 0];
                    
                    _sl = format['%1 plus 100000000000 cashMoney to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };
        admincoinMinusRich =
        {
            {
                if (name _x == _this select 0) then
                {
                    _cashMoney = _x getVariable['cashMoney',0];
                    _x setVariable['cashMoney',_cashMoney-100000000000,true];
                    hint format['Gave %1 -100000000000 cashMoney!',_this select 0];
                    
                    _sl = format['%1 minus 100000000000 cashMoney to %2',name player,_this select 0];
                    PVAH_WriteLogReq = [player,toArray _sl];
                    publicVariableServer 'PVAH_WriteLogReq';
                };
            } forEach playableUnits;
        };

     

    So it Looks like This

     

    admincoinPlusa4 =

    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney+1,true];
    hint format['Gave %1 +1 Coins!',_this select 0];
     
    _sl = format['%1 plus 1 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinMinusa4 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney-1,true];
    hint format['Gave %1 -1 Coins!',_this select 0];
     
    _sl = format['%1 minus 1 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinPlusa3 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney+5,true];
    hint format['Gave %1 +5 Coins!',_this select 0];
     
    _sl = format['%1 plus 5 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinMinusa3 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney-5,true];
    hint format['Gave %1 -5 Coins!',_this select 0];
     
    _sl = format['%1 minus 5 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinPlusa2 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney+10,true];
    hint format['Gave %1 +10 Coins!',_this select 0];
     
    _sl = format['%1 plus 10 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinMinusa2 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney-10,true];
    hint format['Gave %1 -10 Coins!',_this select 0];
     
    _sl = format['%1 minus 10 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinPlusa1 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney+50,true];
    hint format['Gave %1 +50 Coins!',_this select 0];
     
    _sl = format['%1 plus 50 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinMinusa1 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney-50,true];
    hint format['Gave %1 -50 Coins!',_this select 0];
     
    _sl = format['%1 minus 50 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinPlus =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney+100,true];
    hint format['Gave %1 +100 Coins!',_this select 0];
     
    _sl = format['%1 plus 100 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinMinus =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney-100,true];
    hint format['Gave %1 -100 Coins!',_this select 0];
     
    _sl = format['%1 minus 100 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinPlus1 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney+500,true];
    hint format['Gave %1 +500 Coins!',_this select 0];
     
    _sl = format['%1 plus 500 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinMinus1 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney-500,true];
    hint format['Gave %1 -500 cashMoney!',_this select 0];
     
    _sl = format['%1 minus 500 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinPlus2 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney+2500,true];
    hint format['Gave %1 +2500 Coins!',_this select 0];
     
    _sl = format['%1 plus 2500 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinMinus2 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney-2500,true];
    hint format['Gave %1 -2500 Coins!',_this select 0];
     
    _sl = format['%1 minus 2500 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinPlus3 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney+5000,true];
    hint format['Gave %1 +5000 Coins!',_this select 0];
     
    _sl = format['%1 plus 5000 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinMinus3 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney-5000,true];
    hint format['Gave %1 -5000 Coins!',_this select 0];
     
    _sl = format['%1 minus 5000 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinPlus4 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney+10000,true];
    hint format['Gave %1 +10000 Coins!',_this select 0];
     
    _sl = format['%1 plus 10000 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinMinus4 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney-10000,true];
    hint format['Gave %1 -10000 Coins!',_this select 0];
     
    _sl = format['%1 minus 10000 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinPlus5 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney+50000,true];
    hint format['Gave %1 +50000 Coins!',_this select 0];
     
    _sl = format['%1 plus 50000 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinMinus5 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney-50000,true];
    hint format['Gave %1 -50000 Coins!',_this select 0];
     
    _sl = format['%1 minus 50000 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinPlus6 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney+100000,true];
    hint format['Gave %1 +100000 Coins!',_this select 0];
     
    _sl = format['%1 plus 100000 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinMinus6 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney-100000,true];
    hint format['Gave %1 -100000 Coins!',_this select 0];
     
    _sl = format['%1 minus 100000 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinPlus7 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney+500000,true];
    hint format['Gave %1 +500000 Coins!',_this select 0];
     
    _sl = format['%1 plus 500000 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinMinus7 =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney-500000,true];
    hint format['Gave %1 -500000 Coins!',_this select 0];
     
    _sl = format['%1 minus 500000 Coins to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinPlusRich =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney+100000000000,true];
    hint format['Gave %1 +100000000000 Coins!',_this select 0];
     
    _sl = format['%1 plus 100000000000 cashMoney to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    admincoinMinusRich =
    {
    {
    if (name _x == _this select 0) then
    {
    _cashMoney = _x getVariable['cashMoney',0];
    _x setVariable['cashMoney',_cashMoney-100000000000,true];
    hint format['Gave %1 -100000000000 cashMoney!',_this select 0];
     
    _sl = format['%1 minus 100000000000 cashMoney to %2',name player,_this select 0];
    PVAH_WriteLogReq = [player,toArray _sl];
    publicVariableServer 'PVAH_WriteLogReq';
    };
    } forEach playableUnits;
    };
    adminHumanityPlus =
    {
    {
    if (name _x == _this select 0) then
    {
    _humanity = _x getVariable['humanity',0];
    _x setVariable['humanity',_humanity+2500,true];

    hint format['Gave %1 +2500 Humanity!',_this select 0];

     

     

     

    That's It

     

    :)

     

    Save And Restart Your Sever

  5. hey man ill help you with anything i want a convoy mission too you can test it out on my sever if you want

     

    or send me the files and ill test it out and look for error's

     

     

    I ve adapted the core of the wasteland convoys to fit into epoch.. haven't had the chance for testing.. gonna do that next week

  6. Hello 

     

    I Was Interested on makeing and editing GUI'S

     

    I found a tool but im not sure how to use it is really good from what i see for GUI 

     

    It can be used in arma 2,arma 2 OA,and arma 3

     

     

     

    LINK:

    https://community.bistudio.com/wiki/User_Interface_Editor_%28Arma_2%29

     

    I can see alot more mod's and stuff coming out with this

     

    But i dont understand how this work nor how to get it started.

    If You know how to start it or use it Post it on the forums 

×
×
  • Create New...