0 Members and 1 Guest are viewing this topic.
//getbullet.sqf_unit = _this select 0;_type = _this select 4;_unit removeEventHandler bullethandler;_bullet = nearestObject [_unit, _type];if (!isNull _bullet) then{ _bullet switchCamera "EXTERNAL"; waitUntil{isNull _bullet}; player switchCamera "INTERNAL";};
bullethandler = player addEventHandler ["fired", {[_this] exec "getbullet.sqf"}]