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 :
Escort :
Fake Cops :
for more stuff like that look at the mod itself ;)
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;
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;
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"];