Guest User

Untitled

a guest
Mar 1st, 2019
27
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* no fatigue */
  2. player enableFatigue false;
  3. private ["_Aquaman_CQC_Kills"];
  4. /* cleaning the chat */
  5. 0 enableChannel [true, false];
  6. 1 enableChannel [true, false];
  7. 2 enableChannel [true, false];
  8. 3 enableChannel [true, false];
  9.  
  10. /* fixing the aids part of arma */
  11. disableSerialization;
  12. enableEnvironment false;
  13. player disableConversation true;
  14. enableSentences false;
  15. enableRadio false;
  16. enableSaving [false, false];
  17. 0 setFog 0;
  18. //setTerrainGrid 50;
  19.  
  20. execVM "scripts\InitialLoadout.sqf";
  21.  
  22. //player setUnitTrait ["Medic",true];
  23.  
  24. /* Player Related Information */
  25. LastSpawn = "None";
  26. PlayerSpawnPoint = GetPos Player;
  27. player setUnitTrait ["Medic",true];
  28.  
  29. /* Setting Kills & Deaths Variable If Not Already Set */
  30. if (isNil {profileNamespace getVariable "Aquaman_CQC_Kills"} ) then {
  31. profileNameSpace setVariable ["Aquaman_CQC_Kills", 0];
  32. };
  33.  
  34. if (isNil {profileNamespace getVariable "Aquaman_CQC_Deaths"} ) then {
  35. profileNameSpace setVariable ["Aquaman_CQC_Deaths", 0];
  36. };
  37.  
  38. /* Loading Player Variables BROKEN
  39. _LoadPlayerKills = profileNamespace getVariable "Aquaman_CQC_Kills";
  40. _player setVariable ["Aquaman_CQC_Kills", _LoadPlayerKills, true];
  41. _LoadPlayerDeaths = profileNamespace getVariable "Aquaman_CQC_Deaths";
  42. _player setVariable ["Aquaman_CQC_Deaths", _LoadPlayerKills, true];
  43.  
  44. */
  45.  
  46.  
  47. call compile preprocessFile "dialogs\hud.sqf";
  48. [] spawn AQUAMAN_HUD;
  49.  
  50. //call compile preprocessFile "dialogs\VehicleSpawn.sqf";
  51.  
  52. execVM "scripts\aquaman_jump.sqf";
  53. execVM "scripts\aqua_keybinds.sqf";
  54.  
  55. /* Loading Player Variables */
  56. //_Aquaman_CQC_Kills = profileNamespace getVariable ["Aquaman_CQC_Kills", 0];
  57. //player setVariable ["Aquaman_CQC_Kills", _Aquaman_CQC_Kills, true];
  58. //_LoadPlayerDeaths = profileNamespace getVariable "Aquaman_CQC_Deaths";
  59. //player setVariable ["Aquaman_CQC_Deaths", _LoadPlayerDeaths, true];
  60.  
  61. // Run on all clients in multiplayer when player is killled
  62. player addMPEventHandler ["MPKilled", {null = _this execVM "scripts\Aquaman_PlayerStats.sqf";}];
RAW Paste Data