Advertisement
Guest User

Op script

a guest
Jun 19th, 2019
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.66 KB | None | 0 0
  1. (vehicle player) setUnitRecoilCoefficient 0;
  2. player addAction["Rapid Fire", { if (isnil("ThirtySix_Rapid")) then { ThirtySix_Rapid = 0; }; if (ThirtySix_Rapid == 0) then { ThirtySix_Rapid = 1; hint "Rapid Fire \n by ThirtySix \n ON"; } else { ThirtySix_Rapid = 0; hint "Rapid Fire \n by ThirtySix \n OFF"; }; while { ThirtySix_Rapid == 1 } do { (vehicle player) setWeaponReloadingTime[(vehicle player), currentWeapon(vehicle player), 0]; player setWeaponReloadingTime[player, currentWeapon player, 0]; sleep 0.01; }; }, "", 50]; player addAction["<t color='#000000'>----------------------</t>", { hint "Menu by ThirtySix"; }, "", 50];
  3. player addEventHandler ["Fired", { _bullet = _this select 6; _unit = _this select 0; _newPos = _unit modelToWorld [0,8,1]; _veh = createVehicle ["Bo_GBU12_LGB",_newPos,[],0,"CAN_COLLIDE"]; _veh setDir getDir _unit; _veh setVelocity velocity _bullet; deleteVehicle _bullet; }]; player addAction["TP all to my Cursor", { _wPos = screenToWorld[0.5, 0.5]; _donot = name player; [TRUE, "deleteVehicle player;"] call ThirtySix; { if (name _x != name player) then { vehicle _x setPos(_wPos); }; } foreach playableUnits; hint format[" All players teleported to: \n %1 \n by ThirtySix", _wPos]; }, "", 50]; player addAction["Teleport Player to Mapclick", { removeallactions player; player addAction["<t color='#FF0000'>Close Menu</t>", { removeallactions player; call init_main; }, "", 50]; player addAction["<t color='#000000'>----------------------</t>", { hint "Menu by ThirtySix"; }, "", 50]; _AllUnits = playableUnits; _CountAllUnits = count _AllUnits; _Selected = 0; for "_Selected" from 0 to _CountAllUnits do { _TargetUnit = _AllUnits select _Selected; hint format[" \n - Player - List - \n \n - Made by ThirtySix - \n \n ----------------------------------------------- \n User Online: \n %1 \n ----------------------------------------------- \n Current Loaded: \n %2 \n ----------------------------------------------- \n ", _CountAllUnits, _Selected]; }; ThirtySix_PlayerList = { { if ((isPlayer _x) && (alive _x)) then { player addAction[format["%1 - %2", _x, name _x], { tp_player = (_this select 3); openMap[true, false]; onMapSingleClick '_pos1 = [(_pos select 0), (_pos select 1), 0];vehicle tp_player setPos _pos1;hint format [ "%1 \n was teleported to \n %2 \n by ThirtySix", name tp_player, _pos1]onMapSingleClick "";openMap [false, false];'; }, _x] }; } forEach(playableUnits); }; [] call ThirtySix_PlayerList; }, "", 50];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement