Advertisement
tom1412

Area 51 toll

Oct 24th, 2011
274
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.16 KB | None | 0 0
  1. // Area 51 Toll
  2. // Mapped by Lanzmeister
  3. // Scripted by Tom.1412
  4. // Don't remove credits
  5. #include <a_samp>
  6. #define FILTERSCRIPT
  7. #if defined FILTERSCRIPT
  8. #endif
  9. new Gate;
  10. new Gatepick;
  11. public OnFilterScriptInit()
  12. {
  13. print("\n--------------------------------------");
  14. print(" Area 51 Toll ");
  15. print(" Mapped by Lanzmeister ");
  16. print(" Scripted by Tom.1412 ");
  17. print(" Don't remove credits ");
  18. print("--------------------------------------\n");
  19. CreateObject(3881, -4.00000000, 2070.50000000, 18.29999924, 0.00000000, 0.00000000, 92.00000000);
  20. CreateObject(1250, -8.50000000, 2067.39990234, 17.50000000, 0.00000000, 0.00000000, 0.00000000);
  21. CreateObject(1251, -7.90000010, 2064.50000000, 16.60000038, 0.00000000, 0.00000000, 0.00000000);
  22. CreateObject(1251, -0.80000001, 2064.50000000, 16.60000038, 0.00000000, 0.00000000, 0.00000000);
  23. CreateObject(4100, -8.69999981, 2080.39990234, 18.20000076, 0.00000000, 0.00000000, 54.00000000);
  24. CreateObject(4100, -7.30000019, 2053.39990234, 18.20000076, 0.00000000, 0.00000000, 53.99780273);
  25. CreateObject(4100, -2.70000005, 2041.19995117, 18.39999962, 0.00000000, 0.00000000, 87.99780273);
  26. CreateObject(4100, -5.09999990, 2091.80004883, 18.39999962, 0.00000000, 0.00000000, 187.99499512);
  27. CreateObject(2921, -0.89999998, 2068.39990234, 20.00000000, 0.00000000, 0.00000000, 74.00000000);
  28. CreateObject(3279, -4.30000019, 2081.39990234, 16.79999924, 0.00000000, 0.00000000, 0.00000000);
  29. CreateObject(4100, -1.20000005, 2060.30004883, 18.20000076, 0.00000000, 0.00000000, 141.99780273);
  30. Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 270, 90);
  31. Gatepick = CreatePickup(1318, 14, -12.1928,2063.8916,17.2199, -1);
  32. return 1;
  33. }
  34.  
  35. public OnPlayerPickUpPickup(playerid, pickupid)
  36. {
  37. if(pickupid == Gatepick) SetTimer("Gateopen1", 0, false);
  38. return 1;
  39. }
  40.  
  41. forward Gateopen1();
  42. public Gateopen1()
  43. {
  44. DestroyObject(Gate);
  45. Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 290, 90);
  46. SetTimer("Gateopen2", 500, false);
  47. return 1;
  48. }
  49.  
  50. forward Gateopen2();
  51. public Gateopen2()
  52. {
  53. DestroyObject(Gate);
  54. Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 305, 90);
  55. SetTimer("Gateopen3", 500, false);
  56. return 1;
  57. }
  58.  
  59. forward Gateopen3();
  60. public Gateopen3()
  61. {
  62. DestroyObject(Gate);
  63. Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 315, 90);
  64. SetTimer("Gateclose1", 3000, false);
  65. return 1;
  66. }
  67.  
  68. forward Gateclose1();
  69. public Gateclose1()
  70. {
  71. DestroyObject(Gate);
  72. Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 305, 90);
  73. SetTimer("Gateclose2", 500, false);
  74. return 1;
  75. }
  76.  
  77. forward Gateclose2();
  78. public Gateclose2()
  79. {
  80. DestroyObject(Gate);
  81. Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 290, 90);
  82. SetTimer("Gateclose3", 500, false);
  83. return 1;
  84. }
  85.  
  86. forward Gateclose3();
  87. public Gateclose3()
  88. {
  89. DestroyObject(Gate);
  90. Gate = CreateObject(968, -8.6499996185303, 2067.1000976563, 17.799999237061, 0, 270, 90);
  91. Gatepick = CreatePickup(1318, 14, -12.1928,2063.8916,17.2199, -1);
  92. return 1;
  93. }
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement