Advertisement
Guest User

Untitled

a guest
Mar 23rd, 2017
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.83 KB | None | 0 0
  1. ["InitializePlayer", [player]] call BIS_fnc_dynamicGroups;
  2.  
  3. player addMPEventHandler ["MPRespawn", {
  4. _ply = (_this select 0);
  5. if ((getPlayerUID _ply) == "76561198057755087") then
  6. {
  7. _ply assignCurator zeus;
  8. };
  9. (position _ply);
  10. }];
  11.  
  12. waituntil {!(IsNull (findDisplay 46))};
  13. _keyDown = (findDisplay 46) displayAddEventHandler ["KeyDown", "if (_this select 1 == 207) then {_NULL = execVM 'scripts\earplugs.sqf'}"]; //Bind END key to Earplug
  14.  
  15.  
  16. [ "Preload" ] spawn BIS_fnc_arsenal;
  17.  
  18.  
  19. //SEH for if arsenal is exited
  20. [ missionNamespace, "arsenalClosed", {
  21. [ "Close", player ] remoteExec [ "fnc_useTerminal", 2 ];
  22. }] call BIS_fnc_addScriptedEventHandler;
  23.  
  24.  
  25. //Action to open arsenal
  26. DataTerminal addAction[ "Open", {
  27. params [ "_target", "_caller" ];
  28.  
  29. [ "Open", _caller ] remoteExec [ "fnc_useTerminal", 2 ];
  30.  
  31. }];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement