TheGamingChief icon

Untitled

TheGamingChief | PRO | 07/26/16 04:07:19 AM UTC | 0 ⭐ | 358 👁️ | Never ⏰ | []
text |

840 B

|

None

|

0 👍

/

0 👎

call fnc_AddRadiosToNonLethalWeapons;
sleep 1;
_weapons = weapons player - nonlethalweapons;
_mags = magazines player;
_holder = createVehicle ["weaponholder", getPosATL player, [], 0, "CAN_COLLIDE" ];
0 cutText["Your weapons have been removed.","PLAIN"];
 if (count _weapons > 0) then 
{
{player removeWeapon _x} forEach _weapons};
 if (count _mags > 0) then 
{
{player removeMagazine _x} forEach _mags};
 {
_holder addWeaponCargoGlobal [_x,1];
}forEach _weapons;
{
_holder addMagazineCargoGlobal [_x,1];
}forEach _mags;
 HolsterArr = [];
RL_PrimHWep = "empty";
RL_PrimHolstered = false;
RL_PH = false;
 _Pistol = (saveWeaponPistol select 0);
_holder addWeaponCargoGlobal [_Pistol,1];
player removeAction unholsterPistol;
saveWeaponPistol set [1,false];
holsterPistol = player addAction ["Holster Pistol","pistolControl.sqf",[true]];

Comments