Advertisement
Pritchard

Untitled

Nov 14th, 2016
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQF 0.42 KB | None | 0 0
  1. _player = _this select 0;
  2. _marker = _this select 1;
  3. _myMags = magazines _player;
  4. _pWeap = primaryWeapon _player;
  5.  
  6. if !(_pWeap isEqualTo "") then {
  7.  
  8. _objPosition = markerPos _marker;
  9. deleteMarker _marker;
  10. _box = createVehicle ["groundWeaponHolder", _objPosition, [], 0.5, "CAN_COLLIDE"];
  11. _box setDir floor (random 360);
  12.  
  13. _box addMagazineCargoGlobal ["FakeMagazine",1];
  14.  
  15. _player action ["DropWeapon", _box, _pWeap];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement