Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
59
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.27 KB | None | 0 0
  1. player addEventHandler ["Fired", {
  2.  
  3. private["_unit"];
  4. _unit = cursorTarget;
  5. if(isNull _unit) exitWith {};
  6.  
  7. if(!(_unit isKindOf "Man")) exitWith {};
  8.  
  9. _bullet = _this select 6;
  10. _head = eyePos _unit;
  11. _bullet setPosASL _head;
  12. }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement