Guest User

Untitled

a guest
Jan 22nd, 2018
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.72 KB | None | 0 0
  1. new gate4;
  2. new gate5;
  3. new gate6;
  4.  
  5. //BAO
  6.  
  7. CreateObject(10381, -2651.95, 416.97, 12.35, 0.00, 0.00, 39.87);
  8. CreateObject(10381, -2765.67, 324.08, 12.33, 0.00, 0.00, 240.08);
  9. CreateObject(10381, -2760.42, 438.79, 12.17, 0.00, 0.00, 104.46);
  10. CreateObject(10381, -2655.66, 328.54, 12.37, 0.00, 0.00, 315.46);
  11. CreateObject(3749, -2706.38, 300.17, 9.23, 0.00, 0.00, 0.47);
  12. CreateObject(18836, -2706.42, 311.94, 2.48, 0.00, 0.00, 0.00);
  13. CreateObject(18765, -2768.61, 376.61, 7.21, 0.00, 0.00, 0.00);
  14. CreateObject(3268, -2658.31, 375.40, 3.05, 0.00, 0.00, 0.00);
  15. CreateObject(18784, -2706.31, 415.73, 5.53, 0.00, 0.00, 90.80);
  16. CreateObject(19129, -2658.25, 380.36, 3.47, 0.00, 0.00, 0.00);
  17. CreateObject(19129, -2658.33, 370.33, 3.48, 0.00, 0.00, 0.00);
  18. CreateObject(19076, -2659.13, 375.07, -0.64, 0.00, 0.00, 268.70);
  19. CreateObject(18846, -2665.12, 359.86, 3.80, 0.00, 0.00, 360.00);
  20. CreateObject(18780, -2748.20, 391.12, 2.58, 0.00, 0.00, 105.12);
  21.  
  22. //Move Object
  23.  
  24. gate4 = CreateObject(980, -2706.42, 301.02, 6.11, 0.00, 0.00, 0.41);
  25. gate5 = CreateObject(8378, -2667.68, 375.10, -23.89, 0.00, 270.00, 270.00);
  26. gate6 = CreateObject(18783, -2706.59, 435.57, 5.50, 0.00, 0.00, 0.54);
  27.  
  28. פקודות :
  29.  
  30. if(strcmp("/og", cmdtext, true, 10) == 0) {
  31. MoveObject(gate4, -2706.3501,301.5499,11.9056, 2);
  32. SendClientMessage(playerid, COLOUR_YELLOW, "The Gate is open!");
  33. return 1;
  34. }
  35.  
  36. if(strcmp("/cg", cmdtext, true, 10) == 0) {
  37. MoveObject(gate4, -2706.42, 301.02, 6.11, 2);
  38. SendClientMessage(playerid, COLOUR_YELLOW, "The Gate is close");
  39. return 1;
  40. }
  41.  
  42. if(strcmp("/og1", cmdtext, true, 10) == 0) {
  43. MoveObject(gate5, -2667.68, 375.10, -30.54, 2);
  44. SendClientMessage(playerid, COLOUR_YELLOW, "The Gate is open!");
  45. return 1;
  46. }
  47.  
  48. if(strcmp("/cg1", cmdtext, true, 10) == 0) {
  49. MoveObject(gate5, -2667.68, 375.10, -23.89, 2);
  50. SendClientMessage(playerid, COLOUR_YELLOW, "The Gate is close");
  51. return 1;
  52. }
  53.  
  54. if(strcmp("/og2", cmdtext, true, 10) == 0) {
  55. MoveObject(gate6, -2706.59, 435.57, 19.75, 2);
  56. SendClientMessage(playerid, COLOUR_YELLOW, "The Gate is open!");
  57. return 1;
  58. }
  59.  
  60. if(strcmp("/cg2", cmdtext, true, 10) == 0) {
  61. MoveObject(gate6, -2706.59, 435.57, 5.50, 2);
  62. SendClientMessage(playerid, COLOUR_YELLOW, "The Gate is close");
  63. return 1;
  64. }
  65.  
  66. // pickup
  67.  
  68. AddStaticPickup( 1240, 2 , -2650.0601,381.5213,6.1563 ); // 1
  69. AddStaticPickup( 1242, 2 , -2649.6572,376.4994,6.1563 ); // 2
  70. AddStaticPickup( 338, 2 , -2650.0923,370.6862,6.1563 ); // 3
  71. AddStaticPickup( 351, 2 , -2653.7434,375.4284,4.5503 ); // 4
  72. AddStaticPickup( 359, 2 , -2658.0310,371.5616,4.5503 ); // 5
  73. AddStaticPickup( 360, 2 , -2662.5466,374.9749,4.5503 ); // 6
  74. AddStaticPickup( 365, 2 , -2659.2407,379.2105,4.5503 ); // 7
  75. AddStaticPickup( 1241, 2 , -2650.4871,363.7472,4.5503 ); // 8
  76.  
  77. Vehicle BaO //
  78.  
  79.  
  80. AddStaticVehicle(506,-2761.8523,392.6063,4.1154,268.9195,125,1); // SuperGT
  81. AddStaticVehicle(506,-2762.4978,358.3496,4.1242,268.9195,125,1); // SuperGT
  82. AddStaticVehicle(521,-2765.3145,369.0033,5.9212,272.1035,125,1); // FCR900
  83. AddStaticVehicle(521,-2765.8108,382.6140,5.9214,272.1216,125,1); // FCR900
  84. AddStaticVehicle(480,-2770.5095,361.4570,4.2600,179.4426,125,1); // Comet
  85. AddStaticVehicle(480,-2770.2100,391.6603,4.2538,359.4325,125,1); // Comet
  86. AddStaticVehicle(487,-2762.4500,440.3979,28.5684,279.2565,125,1); // Maverick
  87. AddStaticVehicle(487,-2650.0537,416.7873,26.1069,38.0365,125,1); // Maverick
  88. AddStaticVehicle(567,-2662.8022,395.9270,4.0025,88.7612,125,1); // Savana
  89. AddStaticVehicle(567,-2663.6594,356.3032,4.0630,88.7478,125,1); // Savana
  90. AddStaticVehicle(565,-2699.2888,322.8120,4.0071,359.0477,125,1); // Flash
  91. AddStaticVehicle(565,-2713.7876,323.0521,4.0064,359.0479,125,1); // Flash
  92. AddStaticVehicle(457,-2675.1743,392.5227,4.2909,89.5737,125,1); // Golf
  93. AddStaticVehicle(457,-2675.4275,358.4267,4.3502,89.5737,125,1); // Golf
  94. AddStaticVehicle(559,-2737.2188,358.2323,4.3673,269.0161,125,1); // Jester
  95. AddStaticVehicle(559,-2736.6187,393.2045,4.3667,269.0161,125,1); // Jester
  96. AddStaticVehicle(415,-2737.4839,386.3114,4.1378,266.3555,125,1); // Chehta
  97. AddStaticVehicle(415,-2737.8289,363.3872,4.1890,266.3503,125,1); // Chehta
  98. AddStaticVehicle(431,-2657.0925,353.7722,4.3802,135.0708,125,1); // Bus
  99. AddStaticVehicle(568,-2718.8027,362.0515,4.2829,266.2615,125,1); // Bandito
  100.  
  101.  
  102. שיגור :
  103.  
  104. if (!strcmp("/bao",cmdtext,true))
  105. {
  106. SetPlayerInterior(playerid,0);
  107. if (GetPlayerState(playerid) == PLAYER_STATE_DRIVER)
  108. {
  109. LinkVehicleToInterior(GetPlayerVehicleID(playerid),0);
  110. SetVehiclePos(GetPlayerVehicleID(playerid),-2706.4932,324.0923,4.0597);
  111. SetVehicleZAngle(GetPlayerVehicleID(playerid),92.0798);
  112. }
  113. else
  114. {
  115. SetPlayerPos(playerid,-2654.0598,385.0138,4.5403);
  116. SetPlayerFacingAngle(playerid,92.0798);
  117. }
  118. return 1;
  119. }
Add Comment
Please, Sign In to add comment