Advertisement
Guest User

Untitled

a guest
Aug 21st, 2014
204
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.88 KB | None | 0 0
  1. // Tehtävän alussa liittyneille pelaajille ajettavat jutut
  2.  
  3. if ((!isServer) && (!isNull player)) then
  4. {
  5. waitUntil {!isNil "bis_fnc_init"};
  6.  
  7. //[0] call acre_api_fnc_setLossModelScale;
  8. []execVM "briefing.sqf";
  9.  
  10. player addEventHandler ["Killed",{[]spawn ace_fnc_startSpectator; [true] call acre_api_fnc_setSpectator;}]; //SPEKTAUSSKRIPTA
  11.  
  12. ace_sys_eject_fnc_weaponCheckEnabled = { false }; //ASEIDEN AUTOMAATTINEN SIIRTO AJONEUVON GEARIIN POIS
  13. //setViewDistance 3000; //VIEWDISTANCE ARVO PAKOTETTU
  14. //setTerrainGrid 50; //TERRAINDETAIL ARVO PAKOTETTU
  15. ace_settings_enable_vd_change = true; //VIEWDISTANCE S??T? SALLITTU
  16. ace_settings_enable_tg_change = true; //TERRAINDETAIL S??T? SALLITTU
  17.  
  18. player addWeapon "ACE_EARPLUGS";
  19. player addMagazine "ACE_BANDAGE";
  20. player addMagazine "ACE_BANDAGE";
  21. player addMagazine "ACE_MORPHINE";
  22.  
  23. };
  24.  
  25. if (!isServer && isNull player) then
  26. {
  27. waitUntil {!isNil "bis_fnc_init"};
  28. waitUntil {!(isNull player)};
  29.  
  30. //[0] call acre_api_fnc_setLossModelScale;
  31. [] execVM "briefing.sqf";
  32.  
  33. player addEventHandler ["Killed",{[]spawn ace_fnc_startSpectator; [true] call acre_api_fnc_setSpectator;}]; //SPEKTAUSSKRIPTA
  34.  
  35. ace_sys_eject_fnc_weaponCheckEnabled = { false };
  36. //setViewDistance 3000;
  37. //setTerrainGrid 50;
  38. ace_settings_enable_vd_change = true;
  39. ace_settings_enable_tg_change = true;
  40.  
  41. player addWeapon "ACE_EARPLUGS";
  42. player addWeapon "ACRE_PRC343";
  43. player addMagazine "ACE_BANDAGE";
  44. player addMagazine "ACE_BANDAGE";
  45. player addMagazine "ACE_MORPHINE";
  46. };
  47.  
  48. //HEADLESS CLIENT
  49. if ((!isServer) && (!hasInterface)) then
  50. {
  51.  
  52. waitUntil {!isNil "bis_fnc_init"};
  53. [] execVM "ai.sqf";
  54. [] execVM "tankki.sqf";
  55. }
  56. else
  57. {
  58. //SERVER
  59. if (isServer) then
  60. {
  61. waitUntil {!isNil "bis_fnc_init"};
  62.  
  63. };
  64. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement