Calzo_Smith

Fires

Feb 21st, 2012
42
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.91 KB | None | 0 0
  1. // This is a comment
  2. // uncomment the line below if you want to write a filterscript
  3. //#define FILTERSCRIPT
  4.  
  5. #include <a_samp>
  6.  
  7. #if defined FILTERSCRIPT
  8.  
  9. public OnFilterScriptInit()
  10. {
  11. print("\n--------------------------------------");
  12. print(" Fire Commands ");
  13. print(" By Calzo_Smith ");
  14. print("--------------------------------------\n");
  15. return 1;
  16. }
  17.  
  18. public OnFilterScriptExit()
  19. {
  20. return 1;
  21. }
  22.  
  23. #endif
  24.  
  25. public OnPlayerCommandText(playerid, cmdtext[])
  26. {
  27. if (strcmp("/fire1", cmdtext, true, 10) == 0)
  28. {
  29. CreateExplosion(-1596.40, -2709.49, 48.45, 2, 10.0);
  30. CreateExplosion(-1607.10, -2716.97, 48.45, 2, 10.0);
  31. CreateExplosion(-1600.18, -2719.50, 48.45, 2, 10.0);
  32. CreateExplosion(-1604.11, -2712.24, 48.45, 2, 10.0);
  33. CreateExplosion(-1611.37, -2710.72, 48.45, 2, 10.0);
  34. CreateExplosion(-1610.14, -2717.87, 48.45, 2, 10.0);
  35. CreateExplosion(-1606.20, -2713.61, 48.45, 2, 10.0);
  36. CreateExplosion(-1603.22, -2709.85, 48.45, 2, 10.0);
  37. CreateExplosion(-1609.51, -2706.58, 48.45, 2, 10.0);
  38. CreateExplosion(-1599.32, -2714.41, 48.45, 2, 10.0);
  39. CreateExplosion(-1603.50, -2721.97, 48.45, 2, 10.0);
  40. CreateExplosion(-1606.66, -2724.32, 48.45, 2, 10.0);
  41. CreateExplosion(-1612.13, -2723.29, 48.45, 2, 10.0);
  42. CreateExplosion(-1615.54, -2717.63, 48.45, 2, 10.0);
  43. CreateExplosion(-1616.28, -2712.61, 48.45, 2, 10.0);
  44. CreateExplosion(-1617.21, -2705.76, 48.45, 2, 10.0);
  45. CreateExplosion(-1613.81, -2701.66, 48.45, 2, 10.0);
  46. CreateExplosion(-1607.54, -2699.86, 48.45, 2, 10.0);
  47. SendClientMessage(playerid, 0xFFFF0096, "[INFO]Fire has been created!");
  48. return 1;
  49. }
  50. if (strcmp("/fire2", cmdtext, true, 10) == 0)
  51. {
  52. CreateExplosion(-1932.87, -2598.39, 60.67, 2, 10.0);
  53. CreateExplosion(-1932.86, -2594.30, 60.67, 2, 10.0);
  54. CreateExplosion(-1929.63, -2595.23, 60.67, 2, 10.0);
  55. CreateExplosion(-1929.79, -2589.70, 60.67, 2, 10.0);
  56. CreateExplosion(-1923.26, -2591.96, 60.67, 2, 10.0);
  57. CreateExplosion(-1922.56, -2587.69, 60.67, 2, 10.0);
  58. CreateExplosion(-1925.23, -2595.17, 60.67, 2, 10.0);
  59. CreateExplosion(-1937.16, -2592.35, 60.67, 2, 10.0);
  60. CreateExplosion(-1937.12, -2597.60, 60.67, 2, 10.0);
  61. SendClientMessage(playerid, 0xFFFF0096, "[INFO]Fire has been created!");
  62. return 1;
  63. }
  64. if (strcmp("/fire3", cmdtext, true, 10) == 0)
  65. {
  66. CreateExplosion(-2153.60, -2468.14, 30.13, 2, 10.0);
  67. CreateExplosion(-2153.71, -2464.36, 30.13, 2, 10.0);
  68. CreateExplosion(-2151.78, -2463.13, 30.13, 2, 10.0);
  69. CreateExplosion(-2153.96, -2460.83, 30.13, 2, 10.0);
  70. CreateExplosion(-2156.30, -2464.56, 30.13, 2, 10.0);
  71. CreateExplosion(-2159.53, -2460.24, 30.13, 2, 10.0);
  72. CreateExplosion(-2165.18, -2456.00, 30.13, 2, 10.0);
  73. CreateExplosion(-2167.96, -2459.79, 30.13, 2, 10.0);
  74. CreateExplosion(-2163.30, -2460.63, 30.13, 2, 10.0);
  75. CreateExplosion(-2160.32, -2464.98, 30.13, 2, 10.0);
  76. CreateExplosion(-2156.35, -2469.89, 30.13, 2, 10.0);
  77. SendClientMessage(playerid, 0xFFFF0096, "[INFO]Fire has been created!");
  78. return 1;
  79. }
  80. if (strcmp("/fire4", cmdtext, true, 10) == 0)
  81. {
  82. CreateExplosion(-2160.94, -2398.06, 30.11, 2, 10.0);
  83. CreateExplosion(-2161.92, -2387.79, 30.11, 2, 10.0);
  84. CreateExplosion(-2166.44, -2382.38, 30.11, 2, 10.0);
  85. CreateExplosion(-2165.32, -2386.42, 30.11, 2, 10.0);
  86. CreateExplosion(-2158.21, -2389.46, 30.11, 2, 10.0);
  87. CreateExplosion(-2160.09, -2391.46, 30.11, 2, 10.0);
  88. CreateExplosion(-2163.43, -2392.98, 30.11, 2, 10.0);
  89. CreateExplosion(-2170.12, -2389.79, 30.11, 2, 10.0);
  90. CreateExplosion(-2168.29, -2395.68, 30.11, 2, 10.0);
  91. CreateExplosion(-2175.24, -2389.37, 30.11, 2, 10.0);
  92. CreateExplosion(-2174.20, -2383.92, 30.11, 2, 10.0);
  93. SendClientMessage(playerid, 0xFFFF0096, "[INFO]Fire has been created!");
  94. return 1;
  95. }
  96. return 0;
  97. }
Advertisement
Add Comment
Please, Sign In to add comment