Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- fnc_TLOWeaponRotate = {
- _tournable = createVehicle [
- "Land_Can_V3_F",
- _this select 0,
- [],
- 0,
- "CAN_COLLIDE"
- ];
- _tournable hideObject true;
- _arme = createVehicle [
- "WeaponHolderSimulated",
- _this select 0,
- [],
- 0,
- "CAN_COLLIDE"
- ];
- _arme addWeaponCargoGlobal [_this select 1, 1];
- _arme attachTo [_tournable, [0,-0.63,5.7]];
- _arme setVectorDirAndUp [[0,0,1],[0,-1,0]];
- _time = time + 10;
- _dir = getDir _tournable;
- waitUntil {
- _dir = _dir + (
- if (_dir > 360) then [{-360},{3}]
- );
- _tournable setDir _dir;
- time > _time
- };
- deleteVehicle _arme;
- deleteVehicle _tournable;
- };
- _null = [
- player modelToWorld [0,2,0],
- "srifle_GM6_F"
- ] spawn fnc_TLOWeaponRotate;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement