Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define FILTERSCRIPT
- #include <a_samp>
- #include <zcmd>
- new PlayerinMMDM[MAX_PLAYERS];
- #define red 0xFF0000FF
- #define green 0x00EA00FF
- #define yellow 0xFFFF00FF
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Minigun Madness by newbienoob has loaded");
- print("--------------------------------------\n");
- CreateObject(12814, 3077.00, -5305.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(8149, 3091.60, -5209.20, 21.90, 0.00, 0.00, 0.00);
- CreateObject(8149, 3163.40, -5130.20, 21.90, 0.00, 0.00, 270.00);
- CreateObject(8149, 3170.60, -5281.00, 21.90, 0.00, 0.00, 90.00);
- CreateObject(8149, 3242.40, -5202.00, 21.90, 0.00, 0.00, 180.00);
- CreateObject(12814, 3077.00, -5255.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3077.00, -5205.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3077.00, -5155.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3107.00, -5105.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3137.00, -5105.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3167.00, -5105.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3197.00, -5105.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3227.00, -5105.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3257.00, -5105.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3107.00, -5155.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3107.00, -5205.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3107.00, -5255.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3107.00, -5305.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3077.00, -5105.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3137.00, -5155.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3167.00, -5155.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3197.00, -5155.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3227.00, -5155.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3257.00, -5155.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3167.00, -5205.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3197.00, -5205.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3227.00, -5205.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3257.00, -5205.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3137.00, -5255.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3167.00, -5255.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3197.00, -5255.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3227.00, -5255.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3257.00, -5255.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3137.00, -5305.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3167.00, -5305.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3197.00, -5305.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3227.00, -5305.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3257.00, -5305.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(16113, 3248.00, -5098.70, 18.90, 0.00, 0.00, 0.00);
- CreateObject(16113, 3214.40, -5091.20, 17.20, 0.00, 0.00, 212.00);
- CreateObject(16113, 3305.80, -5250.70, 25.30, 0.00, 0.00, 122.00);
- CreateObject(16113, 3159.00, -5093.10, 17.20, 0.00, 0.00, 212.00);
- CreateObject(16113, 3119.30, -5100.00, 17.20, 0.00, 0.00, 22.00);
- CreateObject(16113, 3079.10, -5107.00, 17.20, 0.00, 0.00, 63.99);
- CreateObject(16113, 3061.20, -5131.70, 17.20, 0.00, 0.00, 309.99);
- CreateObject(16116, 3062.80, -5178.70, 17.70, 0.00, 0.00, 312.00);
- CreateObject(16116, 3059.30, -5221.00, 17.70, 0.00, 0.00, 312.00);
- CreateObject(16116, 3071.80, -5271.30, 12.70, 0.00, 0.00, 130.00);
- CreateObject(16116, 3075.90, -5301.10, 17.70, 0.00, 0.00, 355.99);
- CreateObject(866, 3088.10, -5243.00, 18.90, 0.00, 0.00, 0.00);
- CreateObject(866, 3087.80, -5240.30, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3077.00, -5255.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3077.00, -5255.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3077.00, -5255.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3077.00, -5255.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3077.00, -5255.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(16206, 3102.10, -5398.80, 65.10, 0.00, 0.00, 248.00);
- CreateObject(16206, 3182.70, -5396.60, 78.40, 0.00, 0.00, 248.00);
- CreateObject(16116, 3106.10, -5313.10, 17.70, 0.00, 0.00, 43.99);
- CreateObject(16116, 3146.90, -5309.00, 17.70, 0.00, 0.00, 43.99);
- CreateObject(16116, 3180.20, -5305.20, 17.70, 0.00, 0.00, 43.99);
- CreateObject(16116, 3222.60, -5306.50, 17.70, 0.00, 0.00, 43.99);
- CreateObject(16258, 3285.50, -5240.70, 61.00, 0.00, 0.00, 96.00);
- CreateObject(16097, 3336.00, -5134.90, 36.40, 0.00, 0.00, 40.00);
- CreateObject(16113, 3259.60, -5115.80, 18.90, 0.00, 0.00, 94.00);
- CreateObject(16113, 3195.70, -5093.70, 17.20, 0.00, 0.00, 212.00);
- CreateObject(16113, 3309.00, -5219.50, 25.30, 0.00, 0.00, 121.99);
- CreateObject(3279, 3227.00, -5267.40, 18.70, 0.00, 0.00, 0.00);
- CreateObject(3279, 3227.00, -5140.50, 18.70, 0.00, 0.00, 0.00);
- CreateObject(3279, 3102.30, -5140.50, 18.70, 0.00, 0.00, 0.00);
- CreateObject(3279, 3102.30, -5269.40, 18.70, 0.00, 0.00, 0.00);
- CreateObject(16093, 3227.20, -5166.70, 23.10, 0.00, 0.00, 270.00);
- CreateObject(16638, 3226.23, -5166.79, 21.30, 0.00, 0.00, 270.00);
- CreateObject(16093, 3227.20, -5244.80, 23.10, 0.00, 0.00, 270.00);
- CreateObject(16638, 3226.22, -5244.89, 21.30, 0.00, 0.00, 270.00);
- CreateObject(16093, 3103.00, -5166.70, 23.10, 0.00, 0.00, 90.00);
- CreateObject(16638, 3103.98, -5166.62, 21.30, 0.00, 0.00, 90.00);
- CreateObject(16093, 3103.00, -5244.80, 23.10, 0.00, 0.00, 90.00);
- CreateObject(16638, 3103.97, -5244.73, 21.30, 0.00, 0.00, 90.00);
- CreateObject(16095, 3203.10, -5267.70, 18.90, 0.00, 0.00, 90.00);
- CreateObject(16095, 3130.30, -5267.70, 18.90, 0.00, 0.00, 90.00);
- CreateObject(16098, 3166.70, -5263.80, 23.80, 0.00, 0.00, 90.00);
- CreateObject(16095, 3213.20, -5267.70, 18.90, 0.00, 0.00, 90.00);
- CreateObject(16095, 3119.00, -5267.70, 18.90, 0.00, 0.00, 90.00);
- CreateObject(11292, 3121.50, -5144.50, 20.30, 0.00, 0.00, 0.00);
- CreateObject(11292, 3132.50, -5144.50, 20.30, 0.00, 0.00, 0.00);
- CreateObject(11292, 3143.50, -5144.50, 20.30, 0.00, 0.00, 0.00);
- CreateObject(11292, 3121.50, -5153.60, 20.30, 0.00, 0.00, 180.00);
- CreateObject(11292, 3132.50, -5153.60, 20.30, 0.00, 0.00, 179.99);
- CreateObject(11292, 3143.50, -5153.60, 20.30, 0.00, 0.00, 179.99);
- CreateObject(12919, 3166.90, -5148.00, 18.80, 0.00, 0.00, 180.00);
- CreateObject(3866, 3203.60, -5156.60, 26.60, 0.00, 0.00, 0.00);
- CreateObject(3887, 3222.10, -5207.60, 27.70, 0.00, 0.00, 0.00);
- CreateObject(11088, 3180.70, -5212.40, 25.40, 0.00, 0.00, 180.00);
- CreateObject(12814, 3156.40, -5205.60, 18.90, 0.00, 0.00, 0.00);
- CreateObject(12814, 3117.40, -5205.60, 18.89, 0.00, 0.00, 0.00);
- CreateObject(12814, 3133.70, -5214.20, 18.87, 0.00, 0.00, 0.00);
- CreateObject(3095, 3136.90, -5193.08, 13.77, 20.00, 0.00, 0.00);
- CreateObject(3095, 3136.90, -5184.64, 16.85, 20.00, 0.00, 0.00);
- CreateObject(3095, 3141.80, -5185.10, 15.10, 0.00, 270.00, 0.00);
- CreateObject(3095, 3132.10, -5185.10, 15.10, 0.00, 90.00, 0.00);
- CreateObject(3095, 3141.80, -5193.10, 14.37, 0.00, 270.00, 0.00);
- CreateObject(3095, 3132.10, -5193.10, 14.37, 0.00, 90.00, 0.00);
- CreateObject(3095, 3136.90, -5193.70, 18.31, 0.00, 0.00, 0.00);
- CreateObject(8661, 3137.00, -5207.40, 12.77, 0.00, 0.00, 0.00);
- CreateObject(8661, 3137.00, -5207.40, 18.40, 180.00, 0.00, 0.00);
- CreateObject(16665, 3162.51, -5215.23, 12.76, 0.00, 0.00, 179.99);
- CreateObject(8661, 3117.10, -5207.40, -1.50, 0.00, 90.00, 0.00);
- CreateObject(8661, 3137.00, -5217.37, 8.41, 270.00, 0.00, 0.00);
- CreateObject(8661, 3157.00, -5202.90, -1.50, 0.00, 270.00, 0.00);
- CreateObject(3117, 3156.40, -5215.60, 17.80, 90.00, 0.00, 90.00);
- CreateObject(3117, 3156.40, -5215.60, 16.20, 90.00, 0.00, 90.00);
- CreateObject(3117, 3156.70, -5212.90, 16.90, 0.00, 90.00, 343.00);
- CreateObject(8661, 3122.20, -5197.60, -1.50, 0.00, 90.00, 270.00);
- CreateObject(8661, 3151.50, -5197.60, -1.50, 0.00, 90.00, 270.00);
- CreateObject(2917, 3134.80, -5216.40, 17.80, 0.00, 0.00, 0.00);
- CreateObject(16641, 3125.70, -5207.90, 14.50, 0.00, 0.00, 90.00);
- CreateObject(2917, 3139.40, -5216.40, 17.80, 0.00, 0.00, 0.00);
- CreateObject(16666, 3134.30, -5211.70, 7.70, 0.00, 0.00, 0.00);
- CreateObject(3066, 3152.70, -5203.60, 13.80, 0.00, 0.00, 0.00);
- CreateObject(2974, 3149.20, -5199.50, 12.80, 0.00, 0.00, 0.00);
- CreateObject(2974, 3146.80, -5199.50, 12.80, 0.00, 0.00, 0.00);
- CreateObject(2974, 3144.40, -5199.50, 12.80, 0.00, 0.00, 0.00);
- CreateObject(2974, 3144.40, -5203.40, 12.80, 0.00, 0.00, 0.00);
- CreateObject(2974, 3146.80, -5203.40, 12.80, 0.00, 0.00, 0.00);
- CreateObject(2974, 3149.20, -5203.40, 12.80, 0.00, 0.00, 0.00);
- CreateObject(925, 3146.00, -5216.10, 13.80, 0.00, 0.00, 180.00);
- CreateObject(930, 3146.10, -5216.00, 15.30, 0.00, 0.00, 0.00);
- CreateObject(3576, 3149.70, -5215.80, 14.20, 0.00, 0.00, 0.00);
- CreateObject(1225, 3144.20, -5216.10, 13.20, 0.00, 0.00, 0.00);
- CreateObject(3786, 3139.60, -5216.50, 15.00, 0.00, 0.00, 0.00);
- CreateObject(3786, 3134.90, -5216.40, 15.00, 0.00, 0.00, 0.00);
- CreateObject(3787, 3139.70, -5216.70, 13.30, 0.00, 0.00, 0.00);
- CreateObject(3787, 3134.70, -5216.70, 13.30, 0.00, 0.00, 0.00);
- CreateObject(3795, 3139.80, -5214.50, 13.10, 0.00, 0.00, 0.00);
- CreateObject(3795, 3134.40, -5214.40, 13.10, 0.00, 0.00, 0.00);
- CreateObject(16662, 3173.90, -5215.60, 13.00, 0.00, 0.00, 244.00);
- CreateObject(16782, 3175.70, -5215.00, 14.10, 0.00, 0.00, 180.00);
- CreateObject(3384, 3171.50, -5221.50, 13.20, 0.00, 0.00, 312.00);
- CreateObject(3383, 3166.10, -5219.70, 11.70, 0.00, 0.00, 0.00);
- CreateObject(3393, 3165.30, -5211.11, 11.75, 0.00, 0.00, 90.00);
- CreateObject(9241, 3110.97, -5200.72, 20.41, 0.00, 0.00, 90.00);
- CreateObject(9361, 3115.72, -5230.67, 21.43, 0.00, 0.00, -312.24);
- CreateObject(2009, 3115.53, -5227.11, 19.05, 0.00, 0.00, 270.00);
- CreateObject(9362, 3115.04, -5232.47, 19.77, 0.00, 0.00, 270.00);
- CreateObject(16138, 3137.62, -5162.96, 18.78, 0.00, 0.00, -90.00);
- CreateObject(2934, 3154.69, -5164.32, 20.32, 0.00, 0.00, -10.32);
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- CMD:exitmm(playerid,params[])
- {
- if(PlayerinMMDM[playerid] == 0) return SendClientMessage(playerid,red,"You are not in Minigun Madness DM");
- PlayerinMMDM[playerid] = 0;
- SetPlayerHealth(playerid,0);
- SendClientMessage(playerid,green,"You have leave Minigun Madness");
- return 1;
- }
- CMD:mm(playerid,params[])
- {
- new Float:randspawn[][4] =
- {
- {3102.6060,-5245.3096,24.2328,278.1055},
- {3134.2615,-5143.8027,20.0940,130.2415},
- {3192.4470,-5148.2842,19.9078,214.8389},
- {3216.8313,-5197.8647,19.9078,274.2043},
- {3202.8687,-5272.9155,19.9078,266.4265},
- {3201.5786,-5205.6396,21.0562,52.1316},
- {3169.5071,-5215.6929,12.7678,90.6765},
- {3121.5500,-5199.1455,13.7700,238.8612},
- {3179.5999,-5147.6631,23.1750,96.6024},
- {3166.7527,-5267.6665,19.9078,1.0359}
- };
- new rand = random(sizeof(randspawn));
- new str[128], name[MAX_PLAYER_NAME];
- GetPlayerName(playerid,name,MAX_PLAYER_NAME);
- if(PlayerinMMDM[playerid] == 1) return SendClientMessage(playerid,red,"You are already in Minigun Madness DM. Type /exitmm to leave Minigun Madness");
- PlayerinMMDM[playerid] = 1;
- SetPlayerPos(playerid,randspawn[rand][0],randspawn[rand][1],randspawn[rand][2]);
- SetPlayerFacingAngle(playerid,randspawn[rand][3]);
- SetPlayerSkin(playerid,287);
- SetPlayerHealth(playerid,100);
- SetPlayerArmour(playerid,100);
- GivePlayerWeapon(playerid,38,9999999999);
- format(str,sizeof(str),"%s has teleported to Minigun Madness [/MM]",name);
- SendClientMessageToAll(green,str);
- SendClientMessage(playerid,yellow,"Teleported to Minigun Madness");
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- new Float:randspawn[][4] =
- {
- {3102.6060,-5245.3096,24.2328,278.1055},
- {3134.2615,-5143.8027,20.0940,130.2415},
- {3192.4470,-5148.2842,19.9078,214.8389},
- {3216.8313,-5197.8647,19.9078,274.2043},
- {3202.8687,-5272.9155,19.9078,266.4265},
- {3201.5786,-5205.6396,21.0562,52.1316},
- {3169.5071,-5215.6929,12.7678,90.6765},
- {3121.5500,-5199.1455,13.7700,238.8612},
- {3179.5999,-5147.6631,23.1750,96.6024},
- {3166.7527,-5267.6665,19.9078,1.0359}
- };
- new rand = random(sizeof(randspawn));
- 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);
- return 1;
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement