Affichage des articles dont le libellé est Altis. Afficher tous les articles
Affichage des articles dont le libellé est Altis. Afficher tous les articles

jeudi 30 janvier 2014

[Scripts] Some troll script for altis topic




Hello guys i looked at the Altis mod files and found some pretty fun stuff to do on cops or civilian. Retrain anybody, Escort them, and add "Fake coops" gears


Note codes are togglable, i suggest to bind them ;)
Restrain :


Code:


                        private["_unit"];
                        _unit = cursorTarget;
                        player setVariable["restrained",false,true];//unrestrain you
                        if(isNull _unit) exitWith {}; //Not valid
                       
                        //if(!(_unit isKindOf "Man")) exitWith {}; //Not a unit
                        if(!isPlayer _unit) exitWith {}; //Not a human
                        if(_unit getVariable "restrained") exitWith
                        {
                                if(isNull _unit) exitWith {}; //Not valid
                                _unit setVariable["restrained",false,true];
                        };
                        _unit setVariable["restrained",true,true];
                        [[player], "life_fnc_restrain", _unit, false] spawn life_fnc_MP;
                        [[0,format["%1 was restrained by %1", name _unit, name player]],"life_fnc_broadcast",west,false] spawn life_fnc_MP;


Escort :


Code:


                        private["_unit"];
                        _unit = cursorTarget;
                        if(isNull _unit) exitWith {}; //Not valid
                       
                        if(!(_unit isKindOf "Man")) exitWith {}; //Not a unit
                        if(!isPlayer _unit) exitWith {}; //remove that and you'll be able to escrot everything

                        if(_unit getVariable "Escorting") exitWith
                        {
                                if(isNull _unit) exitWith {}; //Not valid
                                detach _unit;
                                _unit setVariable["Escorting",false,true];
                        };
                       
                        _unit attachTo [player,[0,1,0]];
                        _unit setVariable["Escorting",true,true];
                        player reveal _unit;


Fake Cops :


Code:


_unit=player;
removeallweapons _unit;
removeVest _unit;

_unit addVest "V_Rangemaster_belt";
removebackpack _unit;

removeuniform _unit;
_unit addUniform "U_Rangemaster";

//_unit addBackpack "B_Carryall_Base";//you can add a backpack if you want to
_unit addWeapon "hgun_P07_snds_F";
player addWeapon "Binocular";


_magazines = getArray (configFile >> "CfgWeapons" >> "hgun_P07_snds_F" >> "magazines");

{
player addmagazine _x;
player addmagazine _x;
player addmagazine _x;
player addmagazine _x;
}foreach _magazines;

reload player;

hint format ["","You're now a Fake Cops"];


for more stuff like that look at the mod itself ;)





samedi 25 janvier 2014

Altis Life Admin Menu topic




This is a really easy script, it's all of one line.

It's not really a release because it's so easy to find I'm surprised no-one else has posted about it yet and to show people who are spawning money how easy it is to see how much you have

All you need to do is run this:


Code:


life_adminlevel = 1;

And it'll give you access to the admin menu items when you press Y.

You can spectate other players with the GCam or view other players equipped items and money with the Admin menu.

This also gives you the ability to pardon people on the wanted list, so if you're a civvie you can run the wanted menu (Which again isn't hard to find) and pardon yourself and your friends.

Some servers may change the admin variable but I've not come across a server that has.

PROTIP: Servers that have donator shops and special cop shops also have a similar variable which can be found and used for getting good/cheap shit.

Remember kids, always check the mission PBOs!