enclave.inc 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. #if defined _inc_a69
  2. #undef _inc_a69
  3. #endif
  4. #include <YSI_Coding\y_hooks>
  5. hook OnGameModeInit() {
  6. SetObjectMaterial(CreateObject(17018, -565.97333, -489.27982, 29.71090, 0.00000, 0.00000, 89.80000), 1, 19905, "a51_ext", "concretemanky", 0);
  7. CreateObject(-2000, -547.6614,-551.0757,24.5495, 0.00000, 0.00000, 180.00000);
  8. CreateObject(-2000, -562.6614,-551.0757,24.5495, 0.00000, 0.00000, 180.00000);
  9. CreateObject(-2000, -577.6614,-551.0757,24.5495, 0.00000, 0.00000, 180.00000);
  10. CreateObject(4014, -500.00000, -505.20471, 28.84060, 0.00000, 0.00000, 90.00000);
  11. CreateObject(4013, -553.57062, -515.25800, 40.49390, 0.00000, 0.00000, 90.00000);
  12. CreateObject(4184, -517.39392, -509.67294, 33.97470, 0.00000, 0.00000, 90.00000);
  13. CreateObject(4185, -556.37366, -490.88855, 25.19467, 0.00000, 0.00000, 90.00000);
  14. CreateObject(18850, -551.76129, -515.39471, 28.72330, 0.00000, 0.00000, 90.00000);
  15. CreateObject(19463, -522.40863, -470.90253, 31.29070, 0.00000, 0.00000, 90.00000);
  16. CreateObject(19463, -514.2167, -470.8825, 31.2907, 0.00000, 0.00000, 90.00000);
  17. CreateObject(16093, -473.96692, -547.57190, 28.53990, 0.00000, 0.00000, 90.00000);
  18. CreateObject(16638, -472.98016, -547.53534, 26.76680, 0.00000, 0.00000, 90.00000);
  19. CreateObject(10832, -473.65771, -558.62512, 26.22790, 0.00000, 0.00000, 270.00000);
  20. CreateObject(8314, -490.97580, -554.61548, 27.44466, 0.00000, 0.00000, 108.00000);
  21. CreateObject(8314, -490.61206, -552.05939, 27.44470, 0.00000, 0.00000, 288.00000);
  22. CreateObject(16093, -509.76279, -555.58057, 28.53990, 0.00000, 0.00000, 0.00000);
  23. CreateObject(16638, -509.68839, -556.50037, 26.76680, 0.00000, 0.00000, 0.00000);
  24. CreateObject(3279, -521.70349, -558.56470, 24.39489, 0.00000, 0.00000, 180.00000);
  25. CreateObject(8613, -531.31854, -514.86084, 37.74508, 0.00000, 0.00000, 90.00000);
  26. CreateObject(18768, -551.77887, -515.38507, 40.46088, 0.00000, 0.00000, 0.00000);
  27. CreateObject(19907, -611.07434, -544.45282, 24.48861, 0.00000, 0.00000, 180.00000);
  28. CreateObject(19907, -611.07428, -511.18011, 24.48860, 0.00000, 0.00000, 180.00000);
  29. CreateObject(9241, -608.94299, -482.87070, 26.24570, 0.00000, 0.00000, 90.00000);
  30. //Palm trees
  31. CreateDynamicObject(641, -502.32458, -510.84521, 30.60710, 0.00000, 0.00000, 10.00000);
  32. CreateDynamicObject(641, -517.66803, -510.85880, 30.60710, 0.00000, 0.00000, 40.00000);
  33. CreateDynamicObject(641, -511.81970, -528.59167, 30.60710, 0.00000, 0.00000, 48.00000);
  34. CreateDynamicObject(641, -507.73901, -528.31451, 30.60710, 0.00000, 0.00000, 55.00000);
  35. CreateDynamicObject(641, -501.54123, -528.53595, 30.60713, 0.00000, 0.00000, 0.00000);
  36. CreateDynamicObject(641, -504.45789, -528.44702, 30.60710, 0.00000, 0.00000, -84.00000);
  37. CreateDynamicObject(641, -504.99991, -494.19690, 30.60710, 0.00000, 0.00000, 120.00000);
  38. CreateDynamicObject(641, -501.68539, -494.22540, 30.60710, 0.00000, 0.00000, 105.00000);
  39. CreateDynamicObject(641, -517.75293, -493.99579, 30.60710, 0.00000, 0.00000, 222.00000);
  40. CreateDynamicObject(641, -518.02069, -480.37091, 29.19341, 0.00000, 0.00000, 0.00000);
  41. CreateDynamicObject(641, -517.90826, -484.50861, 29.19341, 0.00000, 0.00000, 0.00000);
  42. //Benches
  43. CreateDynamicObject(1280, -505.61597, -513.68823, 32.78890, 0.00000, 0.00000, 0.00000);
  44. CreateDynamicObject(1280, -505.67032, -509.28223, 32.78890, 0.00000, 0.00000, 0.00000);
  45. CreateDynamicObject(1280, -514.52478, -509.28220, 32.78890, 0.00000, 0.00000, 180.00000);
  46. CreateDynamicObject(1280, -514.52478, -513.68817, 32.78890, 0.00000, 0.00000, 180.00000);
  47. CreateDynamicObject(1280, -502.71277, -496.28476, 32.78890, 0.00000, 0.00000, 90.00000);
  48. CreateDynamicObject(1280, -507.05890, -496.28479, 32.78890, 0.00000, 0.00000, 90.00000);
  49. CreateDynamicObject(1280, -502.71280, -526.22028, 32.78890, 0.00000, 0.00000, 270.00000);
  50. CreateDynamicObject(1280, -507.05890, -526.22028, 32.78890, 0.00000, 0.00000, 270.00000);
  51. //Logos
  52. /*CreateDynamicObject(-2001, -554.42834, -502.43491, 36.29433, 270.00000, 0.00000, 0.00000);
  53. CreateDynamicObject(-2001, -567.62201, -515.73553, 36.29430, 270.00000, 0.00000, 90.00000);
  54. CreateDynamicObject(-2001, -554.42749, -528.66583, 36.29430, 270.00000, 0.00000, 180.00000);
  55. CreateDynamicObject(-2001, -536.57129, -511.11884, 36.29430, 270.00000, 0.00000, 270.00000);*/
  56. //Ventilators outside
  57. CreateDynamicObject(3042, -648.95691, -578.24237, 32.22040, 0.00000, 180.00000, 0.00000);
  58. CreateDynamicObject(3042, -651.12238, -577.00317, 32.79881, 0.00000, 180.00000, 50.00000);
  59. CreateDynamicObject(3042, -651.60352, -572.93878, 32.79880, 0.00000, 180.00000, 113.00000);
  60. return Y_HOOKS_CONTINUE_RETURN_1;
  61. }
  62. hook OnPlayerConnect(playerid) {
  63. RemoveBuildingForPlayer(playerid, 17018, -565.7656, -489.1406, 29.7109, 0.25);//fence
  64. RemoveBuildingForPlayer(playerid, 17349, -542.0078, -522.8438, 29.5938, 0.25);
  65. RemoveBuildingForPlayer(playerid, 17019, -606.0313, -528.8203, 30.5234, 0.25);
  66. RemoveBuildingForPlayer(playerid, 1278, -573.0547, -559.6953, 38.5234, 0.25);
  67. RemoveBuildingForPlayer(playerid, 17012, -542.0078, -522.8438, 29.5938, 0.25);
  68. RemoveBuildingForPlayer(playerid, 1415, -513.7578, -561.0078, 24.5859, 0.25);
  69. RemoveBuildingForPlayer(playerid, 1441, -503.6172, -540.5313, 25.2266, 0.25);
  70. RemoveBuildingForPlayer(playerid, 1415, -502.6094, -528.6484, 24.5859, 0.25);
  71. RemoveBuildingForPlayer(playerid, 1440, -502.1172, -521.0313, 25.0234, 0.25);
  72. RemoveBuildingForPlayer(playerid, 1441, -502.4063, -513.0156, 25.2266, 0.25);
  73. RemoveBuildingForPlayer(playerid, 1440, -553.6875, -481.6328, 25.0234, 0.25);
  74. RemoveBuildingForPlayer(playerid, 1441, -554.4531, -496.1797, 25.1641, 0.25);
  75. RemoveBuildingForPlayer(playerid, 1278, -532.4688, -479.9219, 38.6484, 0.25);
  76. RemoveBuildingForPlayer(playerid, 1440, -516.9453, -496.6484, 25.0234, 0.25);
  77. RemoveBuildingForPlayer(playerid, 1440, -503.1250, -509.0000, 25.0234, 0.25);
  78. RemoveBuildingForPlayer(playerid, 17020, -475.9766, -544.8516, 28.1172, 0.25);
  79. return Y_HOOKS_CONTINUE_RETURN_1;
  80. }