Advertisement
gta6287

Minigun Madness By newbienoob

Apr 30th, 2012
1,102
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 12.80 KB | None | 0 0
  1. #define FILTERSCRIPT
  2.  
  3. #include <a_samp>
  4. #include <zcmd>
  5.  
  6. new PlayerinMMDM[MAX_PLAYERS];
  7.  
  8. #define red 0xFF0000FF
  9. #define green 0x00EA00FF
  10. #define yellow 0xFFFF00FF
  11.  
  12. #if defined FILTERSCRIPT
  13.  
  14. public OnFilterScriptInit()
  15. {
  16.     print("\n--------------------------------------");
  17.     print(" Minigun Madness by newbienoob has loaded");
  18.     print("--------------------------------------\n");
  19.     CreateObject(12814, 3077.00, -5305.60, 18.90,   0.00, 0.00, 0.00);
  20.     CreateObject(8149, 3091.60, -5209.20, 21.90,   0.00, 0.00, 0.00);
  21.     CreateObject(8149, 3163.40, -5130.20, 21.90,   0.00, 0.00, 270.00);
  22.     CreateObject(8149, 3170.60, -5281.00, 21.90,   0.00, 0.00, 90.00);
  23.     CreateObject(8149, 3242.40, -5202.00, 21.90,   0.00, 0.00, 180.00);
  24.     CreateObject(12814, 3077.00, -5255.60, 18.90,   0.00, 0.00, 0.00);
  25.     CreateObject(12814, 3077.00, -5205.60, 18.90,   0.00, 0.00, 0.00);
  26.     CreateObject(12814, 3077.00, -5155.60, 18.90,   0.00, 0.00, 0.00);
  27.     CreateObject(12814, 3107.00, -5105.60, 18.90,   0.00, 0.00, 0.00);
  28.     CreateObject(12814, 3137.00, -5105.60, 18.90,   0.00, 0.00, 0.00);
  29.     CreateObject(12814, 3167.00, -5105.60, 18.90,   0.00, 0.00, 0.00);
  30.     CreateObject(12814, 3197.00, -5105.60, 18.90,   0.00, 0.00, 0.00);
  31.     CreateObject(12814, 3227.00, -5105.60, 18.90,   0.00, 0.00, 0.00);
  32.     CreateObject(12814, 3257.00, -5105.60, 18.90,   0.00, 0.00, 0.00);
  33.     CreateObject(12814, 3107.00, -5155.60, 18.90,   0.00, 0.00, 0.00);
  34.     CreateObject(12814, 3107.00, -5205.60, 18.90,   0.00, 0.00, 0.00);
  35.     CreateObject(12814, 3107.00, -5255.60, 18.90,   0.00, 0.00, 0.00);
  36.     CreateObject(12814, 3107.00, -5305.60, 18.90,   0.00, 0.00, 0.00);
  37.     CreateObject(12814, 3077.00, -5105.60, 18.90,   0.00, 0.00, 0.00);
  38.     CreateObject(12814, 3137.00, -5155.60, 18.90,   0.00, 0.00, 0.00);
  39.     CreateObject(12814, 3167.00, -5155.60, 18.90,   0.00, 0.00, 0.00);
  40.     CreateObject(12814, 3197.00, -5155.60, 18.90,   0.00, 0.00, 0.00);
  41.     CreateObject(12814, 3227.00, -5155.60, 18.90,   0.00, 0.00, 0.00);
  42.     CreateObject(12814, 3257.00, -5155.60, 18.90,   0.00, 0.00, 0.00);
  43.     CreateObject(12814, 3167.00, -5205.60, 18.90,   0.00, 0.00, 0.00);
  44.     CreateObject(12814, 3197.00, -5205.60, 18.90,   0.00, 0.00, 0.00);
  45.     CreateObject(12814, 3227.00, -5205.60, 18.90,   0.00, 0.00, 0.00);
  46.     CreateObject(12814, 3257.00, -5205.60, 18.90,   0.00, 0.00, 0.00);
  47.     CreateObject(12814, 3137.00, -5255.60, 18.90,   0.00, 0.00, 0.00);
  48.     CreateObject(12814, 3167.00, -5255.60, 18.90,   0.00, 0.00, 0.00);
  49.     CreateObject(12814, 3197.00, -5255.60, 18.90,   0.00, 0.00, 0.00);
  50.     CreateObject(12814, 3227.00, -5255.60, 18.90,   0.00, 0.00, 0.00);
  51.     CreateObject(12814, 3257.00, -5255.60, 18.90,   0.00, 0.00, 0.00);
  52.     CreateObject(12814, 3137.00, -5305.60, 18.90,   0.00, 0.00, 0.00);
  53.     CreateObject(12814, 3167.00, -5305.60, 18.90,   0.00, 0.00, 0.00);
  54.     CreateObject(12814, 3197.00, -5305.60, 18.90,   0.00, 0.00, 0.00);
  55.     CreateObject(12814, 3227.00, -5305.60, 18.90,   0.00, 0.00, 0.00);
  56.     CreateObject(12814, 3257.00, -5305.60, 18.90,   0.00, 0.00, 0.00);
  57.     CreateObject(16113, 3248.00, -5098.70, 18.90,   0.00, 0.00, 0.00);
  58.     CreateObject(16113, 3214.40, -5091.20, 17.20,   0.00, 0.00, 212.00);
  59.     CreateObject(16113, 3305.80, -5250.70, 25.30,   0.00, 0.00, 122.00);
  60.     CreateObject(16113, 3159.00, -5093.10, 17.20,   0.00, 0.00, 212.00);
  61.     CreateObject(16113, 3119.30, -5100.00, 17.20,   0.00, 0.00, 22.00);
  62.     CreateObject(16113, 3079.10, -5107.00, 17.20,   0.00, 0.00, 63.99);
  63.     CreateObject(16113, 3061.20, -5131.70, 17.20,   0.00, 0.00, 309.99);
  64.     CreateObject(16116, 3062.80, -5178.70, 17.70,   0.00, 0.00, 312.00);
  65.     CreateObject(16116, 3059.30, -5221.00, 17.70,   0.00, 0.00, 312.00);
  66.     CreateObject(16116, 3071.80, -5271.30, 12.70,   0.00, 0.00, 130.00);
  67.     CreateObject(16116, 3075.90, -5301.10, 17.70,   0.00, 0.00, 355.99);
  68.     CreateObject(866, 3088.10, -5243.00, 18.90,   0.00, 0.00, 0.00);
  69.     CreateObject(866, 3087.80, -5240.30, 18.90,   0.00, 0.00, 0.00);
  70.     CreateObject(12814, 3077.00, -5255.60, 18.90,   0.00, 0.00, 0.00);
  71.     CreateObject(12814, 3077.00, -5255.60, 18.90,   0.00, 0.00, 0.00);
  72.     CreateObject(12814, 3077.00, -5255.60, 18.90,   0.00, 0.00, 0.00);
  73.     CreateObject(12814, 3077.00, -5255.60, 18.90,   0.00, 0.00, 0.00);
  74.     CreateObject(12814, 3077.00, -5255.60, 18.90,   0.00, 0.00, 0.00);
  75.     CreateObject(16206, 3102.10, -5398.80, 65.10,   0.00, 0.00, 248.00);
  76.     CreateObject(16206, 3182.70, -5396.60, 78.40,   0.00, 0.00, 248.00);
  77.     CreateObject(16116, 3106.10, -5313.10, 17.70,   0.00, 0.00, 43.99);
  78.     CreateObject(16116, 3146.90, -5309.00, 17.70,   0.00, 0.00, 43.99);
  79.     CreateObject(16116, 3180.20, -5305.20, 17.70,   0.00, 0.00, 43.99);
  80.     CreateObject(16116, 3222.60, -5306.50, 17.70,   0.00, 0.00, 43.99);
  81.     CreateObject(16258, 3285.50, -5240.70, 61.00,   0.00, 0.00, 96.00);
  82.     CreateObject(16097, 3336.00, -5134.90, 36.40,   0.00, 0.00, 40.00);
  83.     CreateObject(16113, 3259.60, -5115.80, 18.90,   0.00, 0.00, 94.00);
  84.     CreateObject(16113, 3195.70, -5093.70, 17.20,   0.00, 0.00, 212.00);
  85.     CreateObject(16113, 3309.00, -5219.50, 25.30,   0.00, 0.00, 121.99);
  86.     CreateObject(3279, 3227.00, -5267.40, 18.70,   0.00, 0.00, 0.00);
  87.     CreateObject(3279, 3227.00, -5140.50, 18.70,   0.00, 0.00, 0.00);
  88.     CreateObject(3279, 3102.30, -5140.50, 18.70,   0.00, 0.00, 0.00);
  89.     CreateObject(3279, 3102.30, -5269.40, 18.70,   0.00, 0.00, 0.00);
  90.     CreateObject(16093, 3227.20, -5166.70, 23.10,   0.00, 0.00, 270.00);
  91.     CreateObject(16638, 3226.23, -5166.79, 21.30,   0.00, 0.00, 270.00);
  92.     CreateObject(16093, 3227.20, -5244.80, 23.10,   0.00, 0.00, 270.00);
  93.     CreateObject(16638, 3226.22, -5244.89, 21.30,   0.00, 0.00, 270.00);
  94.     CreateObject(16093, 3103.00, -5166.70, 23.10,   0.00, 0.00, 90.00);
  95.     CreateObject(16638, 3103.98, -5166.62, 21.30,   0.00, 0.00, 90.00);
  96.     CreateObject(16093, 3103.00, -5244.80, 23.10,   0.00, 0.00, 90.00);
  97.     CreateObject(16638, 3103.97, -5244.73, 21.30,   0.00, 0.00, 90.00);
  98.     CreateObject(16095, 3203.10, -5267.70, 18.90,   0.00, 0.00, 90.00);
  99.     CreateObject(16095, 3130.30, -5267.70, 18.90,   0.00, 0.00, 90.00);
  100.     CreateObject(16098, 3166.70, -5263.80, 23.80,   0.00, 0.00, 90.00);
  101.     CreateObject(16095, 3213.20, -5267.70, 18.90,   0.00, 0.00, 90.00);
  102.     CreateObject(16095, 3119.00, -5267.70, 18.90,   0.00, 0.00, 90.00);
  103.     CreateObject(11292, 3121.50, -5144.50, 20.30,   0.00, 0.00, 0.00);
  104.     CreateObject(11292, 3132.50, -5144.50, 20.30,   0.00, 0.00, 0.00);
  105.     CreateObject(11292, 3143.50, -5144.50, 20.30,   0.00, 0.00, 0.00);
  106.     CreateObject(11292, 3121.50, -5153.60, 20.30,   0.00, 0.00, 180.00);
  107.     CreateObject(11292, 3132.50, -5153.60, 20.30,   0.00, 0.00, 179.99);
  108.     CreateObject(11292, 3143.50, -5153.60, 20.30,   0.00, 0.00, 179.99);
  109.     CreateObject(12919, 3166.90, -5148.00, 18.80,   0.00, 0.00, 180.00);
  110.     CreateObject(3866, 3203.60, -5156.60, 26.60,   0.00, 0.00, 0.00);
  111.     CreateObject(3887, 3222.10, -5207.60, 27.70,   0.00, 0.00, 0.00);
  112.     CreateObject(11088, 3180.70, -5212.40, 25.40,   0.00, 0.00, 180.00);
  113.     CreateObject(12814, 3156.40, -5205.60, 18.90,   0.00, 0.00, 0.00);
  114.     CreateObject(12814, 3117.40, -5205.60, 18.89,   0.00, 0.00, 0.00);
  115.     CreateObject(12814, 3133.70, -5214.20, 18.87,   0.00, 0.00, 0.00);
  116.     CreateObject(3095, 3136.90, -5193.08, 13.77,   20.00, 0.00, 0.00);
  117.     CreateObject(3095, 3136.90, -5184.64, 16.85,   20.00, 0.00, 0.00);
  118.     CreateObject(3095, 3141.80, -5185.10, 15.10,   0.00, 270.00, 0.00);
  119.     CreateObject(3095, 3132.10, -5185.10, 15.10,   0.00, 90.00, 0.00);
  120.     CreateObject(3095, 3141.80, -5193.10, 14.37,   0.00, 270.00, 0.00);
  121.     CreateObject(3095, 3132.10, -5193.10, 14.37,   0.00, 90.00, 0.00);
  122.     CreateObject(3095, 3136.90, -5193.70, 18.31,   0.00, 0.00, 0.00);
  123.     CreateObject(8661, 3137.00, -5207.40, 12.77,   0.00, 0.00, 0.00);
  124.     CreateObject(8661, 3137.00, -5207.40, 18.40,   180.00, 0.00, 0.00);
  125.     CreateObject(16665, 3162.51, -5215.23, 12.76,   0.00, 0.00, 179.99);
  126.     CreateObject(8661, 3117.10, -5207.40, -1.50,   0.00, 90.00, 0.00);
  127.     CreateObject(8661, 3137.00, -5217.37, 8.41,   270.00, 0.00, 0.00);
  128.     CreateObject(8661, 3157.00, -5202.90, -1.50,   0.00, 270.00, 0.00);
  129.     CreateObject(3117, 3156.40, -5215.60, 17.80,   90.00, 0.00, 90.00);
  130.     CreateObject(3117, 3156.40, -5215.60, 16.20,   90.00, 0.00, 90.00);
  131.     CreateObject(3117, 3156.70, -5212.90, 16.90,   0.00, 90.00, 343.00);
  132.     CreateObject(8661, 3122.20, -5197.60, -1.50,   0.00, 90.00, 270.00);
  133.     CreateObject(8661, 3151.50, -5197.60, -1.50,   0.00, 90.00, 270.00);
  134.     CreateObject(2917, 3134.80, -5216.40, 17.80,   0.00, 0.00, 0.00);
  135.     CreateObject(16641, 3125.70, -5207.90, 14.50,   0.00, 0.00, 90.00);
  136.     CreateObject(2917, 3139.40, -5216.40, 17.80,   0.00, 0.00, 0.00);
  137.     CreateObject(16666, 3134.30, -5211.70, 7.70,   0.00, 0.00, 0.00);
  138.     CreateObject(3066, 3152.70, -5203.60, 13.80,   0.00, 0.00, 0.00);
  139.     CreateObject(2974, 3149.20, -5199.50, 12.80,   0.00, 0.00, 0.00);
  140.     CreateObject(2974, 3146.80, -5199.50, 12.80,   0.00, 0.00, 0.00);
  141.     CreateObject(2974, 3144.40, -5199.50, 12.80,   0.00, 0.00, 0.00);
  142.     CreateObject(2974, 3144.40, -5203.40, 12.80,   0.00, 0.00, 0.00);
  143.     CreateObject(2974, 3146.80, -5203.40, 12.80,   0.00, 0.00, 0.00);
  144.     CreateObject(2974, 3149.20, -5203.40, 12.80,   0.00, 0.00, 0.00);
  145.     CreateObject(925, 3146.00, -5216.10, 13.80,   0.00, 0.00, 180.00);
  146.     CreateObject(930, 3146.10, -5216.00, 15.30,   0.00, 0.00, 0.00);
  147.     CreateObject(3576, 3149.70, -5215.80, 14.20,   0.00, 0.00, 0.00);
  148.     CreateObject(1225, 3144.20, -5216.10, 13.20,   0.00, 0.00, 0.00);
  149.     CreateObject(3786, 3139.60, -5216.50, 15.00,   0.00, 0.00, 0.00);
  150.     CreateObject(3786, 3134.90, -5216.40, 15.00,   0.00, 0.00, 0.00);
  151.     CreateObject(3787, 3139.70, -5216.70, 13.30,   0.00, 0.00, 0.00);
  152.     CreateObject(3787, 3134.70, -5216.70, 13.30,   0.00, 0.00, 0.00);
  153.     CreateObject(3795, 3139.80, -5214.50, 13.10,   0.00, 0.00, 0.00);
  154.     CreateObject(3795, 3134.40, -5214.40, 13.10,   0.00, 0.00, 0.00);
  155.     CreateObject(16662, 3173.90, -5215.60, 13.00,   0.00, 0.00, 244.00);
  156.     CreateObject(16782, 3175.70, -5215.00, 14.10,   0.00, 0.00, 180.00);
  157.     CreateObject(3384, 3171.50, -5221.50, 13.20,   0.00, 0.00, 312.00);
  158.     CreateObject(3383, 3166.10, -5219.70, 11.70,   0.00, 0.00, 0.00);
  159.     CreateObject(3393, 3165.30, -5211.11, 11.75,   0.00, 0.00, 90.00);
  160.     CreateObject(9241, 3110.97, -5200.72, 20.41,   0.00, 0.00, 90.00);
  161.     CreateObject(9361, 3115.72, -5230.67, 21.43,   0.00, 0.00, -312.24);
  162.     CreateObject(2009, 3115.53, -5227.11, 19.05,   0.00, 0.00, 270.00);
  163.     CreateObject(9362, 3115.04, -5232.47, 19.77,   0.00, 0.00, 270.00);
  164.     CreateObject(16138, 3137.62, -5162.96, 18.78,   0.00, 0.00, -90.00);
  165.     CreateObject(2934, 3154.69, -5164.32, 20.32,   0.00, 0.00, -10.32);
  166.     return 1;
  167. }
  168.  
  169. public OnFilterScriptExit()
  170. {
  171.     return 1;
  172. }
  173.  
  174. CMD:exitmm(playerid,params[])
  175. {
  176.     if(PlayerinMMDM[playerid] == 0) return SendClientMessage(playerid,red,"You are not in Minigun Madness DM");
  177.     PlayerinMMDM[playerid] = 0;
  178.     SetPlayerHealth(playerid,0);
  179.     SendClientMessage(playerid,green,"You have leave Minigun Madness");
  180.     return 1;
  181. }
  182. CMD:mm(playerid,params[])
  183. {
  184.     new Float:randspawn[][4] =
  185.     {
  186.         {3102.6060,-5245.3096,24.2328,278.1055},
  187.         {3134.2615,-5143.8027,20.0940,130.2415},
  188.         {3192.4470,-5148.2842,19.9078,214.8389},
  189.         {3216.8313,-5197.8647,19.9078,274.2043},
  190.         {3202.8687,-5272.9155,19.9078,266.4265},
  191.         {3201.5786,-5205.6396,21.0562,52.1316},
  192.         {3169.5071,-5215.6929,12.7678,90.6765},
  193.         {3121.5500,-5199.1455,13.7700,238.8612},
  194.         {3179.5999,-5147.6631,23.1750,96.6024},
  195.         {3166.7527,-5267.6665,19.9078,1.0359}
  196.     };
  197.     new rand = random(sizeof(randspawn));
  198.     new str[128], name[MAX_PLAYER_NAME];
  199.     GetPlayerName(playerid,name,MAX_PLAYER_NAME);
  200.     if(PlayerinMMDM[playerid] == 1) return SendClientMessage(playerid,red,"You are already in Minigun Madness DM. Type /exitmm to leave Minigun Madness");
  201.     PlayerinMMDM[playerid] = 1;
  202.     SetPlayerPos(playerid,randspawn[rand][0],randspawn[rand][1],randspawn[rand][2]);
  203.     SetPlayerFacingAngle(playerid,randspawn[rand][3]);
  204.     SetPlayerSkin(playerid,287);
  205.     SetPlayerHealth(playerid,100);
  206.     SetPlayerArmour(playerid,100);
  207.     GivePlayerWeapon(playerid,38,9999999999);
  208.     format(str,sizeof(str),"%s has teleported to Minigun Madness [/MM]",name);
  209.     SendClientMessageToAll(green,str);
  210.     SendClientMessage(playerid,yellow,"Teleported to Minigun Madness");
  211.     return 1;
  212. }
  213.  
  214. public OnPlayerSpawn(playerid)
  215. {
  216.     new Float:randspawn[][4] =
  217.     {
  218.         {3102.6060,-5245.3096,24.2328,278.1055},
  219.         {3134.2615,-5143.8027,20.0940,130.2415},
  220.         {3192.4470,-5148.2842,19.9078,214.8389},
  221.         {3216.8313,-5197.8647,19.9078,274.2043},
  222.         {3202.8687,-5272.9155,19.9078,266.4265},
  223.         {3201.5786,-5205.6396,21.0562,52.1316},
  224.         {3169.5071,-5215.6929,12.7678,90.6765},
  225.         {3121.5500,-5199.1455,13.7700,238.8612},
  226.         {3179.5999,-5147.6631,23.1750,96.6024},
  227.         {3166.7527,-5267.6665,19.9078,1.0359}
  228.     };
  229.     new rand = random(sizeof(randspawn));
  230.     if(PlayerinMMDM[playerid] == 1) return SetPlayerPos(playerid,randspawn[rand][0],randspawn[rand][1],randspawn[rand][2]) && SetPlayerFacingAngle(playerid,randspawn[rand][3]) && SetPlayerHealth(playerid,100) && SetPlayerArmour(playerid,100) && GivePlayerWeapon(playerid,38,99999999999);
  231.     return 1;
  232. }
  233. #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement