Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- // 100% scripted by Andre Reece and Andre Reece Only aka Clean180ollie aka Eazy E
- // You cnanot claim this as your own unless your a dumb fucker.
- // If you want to claim it as your own, Well To fuckin bad. Make your own TDM server.
- // Colors
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_BRIGHTRED 0xFF0000AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_PINK 0xFF66FFAA
- #define COLOR_BLUE 0x3A47DEFF
- #define COLOR_TAN 0xBDB76BAA
- #define COLOR_PURPLE 0x800080AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define COLOR_LIGHTBLUE 0x33CCFFAA
- #define COLOR_ORANGE 0xFF9900AA
- #define COLOR_INDIGO 0x4B00B0AA
- #define COLOR_BLACK 0x00000000
- #define COLOR_DARKGREY 0x696969FF
- // Turfs nigga
- new gPlayerClass[MAX_PLAYERS];
- new gTeam[MAX_PLAYERS];
- new giveplayer[MAX_PLAYERS];
- new str[MAX_PLAYERS];
- // Menus
- new Menu:help;
- // Teams
- #define TEAM_GROVE 0
- #define TEAM_BALLAS 1
- #define TEAM_VAGOS 2
- #define TEAM_AZTECAS 3
- #define TEAM_LSPD 4
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Blank Filterscript by your name here");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Scripter: Andre Reece");
- print(" aka clean180ollie, eazy e.");
- print(" This Script shall not be claimed ass own.");
- print(" Cause I said so fucker.");
- print(" So Dont Think About it");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- // Don't use these lines if it's a filterscript
- SetGameModeText("TDM-GangWars");
- // Grove Street Families
- AddPlayerClass(107, 2474.8, -1673.966, 15, 0, 30, 50000, 32, 50000, 5, 50000);
- AddPlayerClass(106, 2474.8, -1673.966, 15, 0, 30, 50000, 32, 50000, 5, 50000);
- AddPlayerClass(105, 2474.8, -1673.966, 15, 0, 30, 50000, 32, 50000, 5, 50000);
- // Front Yard Ballas
- AddPlayerClass(102, 2209.9856,-1177.3947,25.7266, 0, 31, 50000, 27, 50000, 23, 50000);
- AddPlayerClass(103, 2209.9856,-1177.3947,25.7266, 0, 31, 50000, 27, 50000, 23, 50000);
- AddPlayerClass(104, 2209.9856,-1177.3947,25.7266, 0, 31, 50000, 27, 50000, 23, 50000);
- // Vagos
- AddPlayerClass(108, 2717.1780,-1124.1628,69.5781, 0, 30, 50000, 31, 50000, 32, 50000);
- AddPlayerClass(109, 2717.1780,-1124.1628,69.5781, 0, 30, 50000, 31, 50000, 32, 50000);
- AddPlayerClass(110, 2717.1780,-1124.1628,69.5781, 0, 30, 50000, 31, 50000, 32, 50000);
- // Aztecas
- AddPlayerClass(114, 1725.641, -2120.061, 15, 0, 32, 50000, 34, 50000, 23, 50000);
- AddPlayerClass(115, 1725.641, -2120.061, 15, 0, 32, 50000, 34, 50000, 23, 50000);
- AddPlayerClass(116, 1725.641, -2120.061, 15, 0, 32, 50000, 34, 50000, 23, 50000);
- // Police (FUCK DEM)
- AddPlayerClass(265, 1554.513, -1677.914, 15, 0, 25, 50000, 24, 50000, 31, 50000);
- AddPlayerClass(266, 1554.513, -1677.914, 15, 0, 25, 50000, 24, 50000, 31, 50000);
- AddPlayerClass(267, 1554.513, -1677.914, 15, 0, 25, 50000, 24, 50000, 31, 50000);
- // Cars
- AddStaticVehicle(598,1536.0474,-1666.3302,13.1275,359.2788,0,1); // PD cars
- AddStaticVehicle(598,1535.9395,-1674.8959,13.1366,359.2789,0,1); // PD cars
- AddStaticVehicle(598,1535.8698,-1680.4412,13.2078,359.2790,0,1); // PD cars
- AddStaticVehicle(598,1534.4950,-1661.4175,13.2069,0.5602,0,1); // PD cars
- AddStaticVehicle(598,1534.3932,-1652.4973,13.2082,0.5632,0,1); // PD cars
- AddStaticVehicle(598,1534.2819,-1641.7218,13.2089,359.8664,0,1); // PD cars
- AddStaticVehicle(598,1534.4392,-1685.4253,13.2042,177.2082,0,1); // PD cars
- AddStaticVehicle(598,1534.3845,-1698.5042,13.2083,180.6520,0,1); // PD cars
- AddStaticVehicle(598,1534.5375,-1711.5868,13.2083,180.7989,0,1); // PD cars
- AddStaticVehicle(603,2505.7097,-1679.8519,13.3003,136.4762,86,86); // GCF cars
- AddStaticVehicle(603,2507.5288,-1666.2064,13.2324,207.2644,86,96); // GCF cars
- AddStaticVehicle(603,2503.1296,-1679.7917,13.2144,125.0997,86,86); // GCF cars
- AddStaticVehicle(402,2460.2903,-1665.2214,13.2673,70.3100,86,86); // GCF CARS
- AddStaticVehicle(567,2496.8782,-1676.2019,13.2157,88.2251,86,86); // GCF cars
- AddStaticVehicle(567,1701.8403,-2116.3042,13.2525,86.9232,90,96); // AZTECAS CARS
- AddStaticVehicle(567,1688.2214,-2116.2803,13.3440,91.2763,90,96); // AZTECAS CARS
- AddStaticVehicle(567,1688.0098,-2108.2297,13.3303,270.1812,90,96); // AZTECAS CARS
- AddStaticVehicle(567,1700.2010,-2108.5042,13.3303,269.1586,90,96); // AZTECAS CARS
- AddStaticVehicle(567,1719.5519,-2109.5029,13.2461,266.1180,90,96); // AZTECAS CARS
- AddStaticVehicle(411,2228.2144,-1173.4064,25.4578,269.9183,5,5); // fyb car
- AddStaticVehicle(411,2228.1963,-1169.9908,25.4669,265.9034,5,5); // fyb car
- AddStaticVehicle(567,2207.2842,-1161.3855,25.5977,83.6689,5,5); // fyb car
- AddStaticVehicle(567,2216.5435,-1162.3883,25.5937,86.5640,5,5); // fyb car
- AddStaticVehicle(567,2206.2834,-1173.3495,25.5977,95.7875,5,5); // fyb car
- //Menu Shit
- help = CreateMenu("help menu", 1, 50.0, 180.0, 200.0, 200.0);
- AddMenuItem(help, 0, "Rules");
- AddMenuItem(help, 0, "Scripter");
- AddMenuItem(help, 0, "Mission");
- AddMenuItem(help, 0, "Commands");
- // OTHER BULLSHIT
- EnableTirePopping(0);
- DisableInteriorEnterExits();
- UsePlayerPedAnims();
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- gPlayerClass[playerid] = classid;
- switch (classid) {
- case 0,1,2:
- {
- gTeam[playerid] = TEAM_GROVE;
- GameTextForPlayer(playerid, "~p~Grove Street Families", 1000, 6);
- ApplyAnimation(playerid,"PED","strip_G",4.1,1,1,1,1,1);
- }
- case 3,4,5:
- {
- gTeam[playerid] = TEAM_BALLAS;
- GameTextForPlayer(playerid, "~b~Ballas", 1000, 6);
- ApplyAnimation(playerid,"PED","strip_G",4.1,1,1,1,1,1);
- }
- case 6,7,8:
- {
- gTeam[playerid] = TEAM_VAGOS;
- GameTextForPlayer(playerid, "~g~VAGOS", 1000, 6);
- ApplyAnimation(playerid,"PED","strip_G",4.1,1,1,1,1,1);
- }
- case 9,10,11:
- {
- gTeam[playerid] = TEAM_AZTECAS;
- GameTextForPlayer(playerid, "~g~AZTECAS", 1000, 6);
- }
- case 12,13,14:
- {
- gTeam[playerid] = TEAM_LSPD;
- GameTextForPlayer(playerid, "~g~POLICE", 1000, 6);
- }
- }
- SetPlayerPos(playerid, 2524.2695,-1696.2926,18.2204);
- SetPlayerFacingAngle( playerid, 2.3616 );
- SetPlayerCameraPos(playerid, 2523.7749,-1692.6855,18.9011);
- SetPlayerCameraLookAt(playerid, 2524.2695,-1696.2926,18.2204);
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- SendClientMessageToAll(0xFFFFFFFF, "Someone Left.... But Why?");
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- new string[128];
- if(killerid != 255)
- {
- format(string, sizeof(string), "Vehicle ID %d has died by killerid %d", vehicleid, killerid);
- SendClientMessageToAll(0xA9A9A9AA, string);
- }
- else
- {
- format(string, sizeof(string), "Vehicle ID %d has died.", vehicleid);
- SendClientMessageToAll(0xA9A9A9AA, string);
- }
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- new PlayerName[MAX_PLAYER_NAME],
- string[128];
- GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
- format(string, sizeof(string), "%s has spawned.", PlayerName);
- SendClientMessageToAll(0xFFFFFFFF, string);
- PlayerPlaySound(playerid, 1159, 0.0, 0.0, 0.0);
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- SendDeathMessage(killerid, playerid, reason);
- SetPlayerScore(killerid,(GetPlayerScore(killerid))+1);
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerPrivmsg(playerid, recieverid, text[])
- {
- new RecName[24], PlayerName[24];
- GetPlayerName(recieverid, giveplayer, sizeof(giveplayer));
- GetPlayerName(playerid, PlayerName, sizeof(PlayerName));
- if(!IsPlayerConnected(recieverid))
- return SendClientMessage(playerid, 0xAFAFAFAA, "INVALID ID!");
- if(recieverid == playerid)
- return SendClientMessage(playerid, 0xAFAFAFAA, "SERVER: The receiver can't be yourself.");
- GameTextForPlayer(playerid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Private message ~r~Sent~y~.", 3000, 3);
- GameTextForPlayer(recieverid, "~n~~n~~n~~n~~n~~n~~n~~n~~n~~y~Private message ~r~Recieved~y~.", 3000, 3);
- PlayerPlaySound(playerid, 1057, 0.0, 0.0, 0.0);
- PlayerPlaySound(recieverid, 1057, 0.0, 0.0, 0.0);
- format(str, sizeof(str), "PM from %s(%i): %s", PlayerName, playerid, text);
- SendClientMessage(recieverid, 0x33AAFFFF, str);
- format(str, sizeof(str), "PM sent to %s(%i): %s", RecName, recieverid, text);
- SendClientMessage(playerid, 0x33AAFFFF, str);
- return true;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if (strcmp("/help", cmdtext, true, 10) == 0)
- {
- ShowMenuForPlayer(help, playerid);
- TogglePlayerControllable(playerid,0);
- return 1;
- }
- if (strcmp("/rules", cmdtext, true, 10) == 0)
- {
- SendClientMessage(playerid, COLOR_GREEN, "Breif: Of Course Some Faggots Gonna Do Something Stupid");
- SendClientMessage(playerid, COLOR_GREEN, "Shortcut: /rules");
- SendClientMessage(playerid, COLOR_GREEN, "1: No Team Killing");
- SendClientMessage(playerid, COLOR_GREEN, "2: No Spam");
- SendClientMessage(playerid, COLOR_GREEN, "3: No CarParking");
- SendClientMessage(playerid, COLOR_GREEN, "4: NO HACKS NO CHEATS NO BUG ABUSE");
- SendClientMessage(playerid, COLOR_GREEN, "5: DOnt Talk About Other Servers");
- return 1;
- }
- if (strcmp("/freezeme", cmdtext, true, 10) == 0)
- {
- SendClientMessage(playerid, COLOR_ORANGE, "You Froze Yourself");
- TogglePlayerControllable(playerid,0);
- return 1;
- }
- if (strcmp("/unfreezeme", cmdtext, true, 10) == 0)
- {
- SendClientMessage(playerid, COLOR_ORANGE, "You have unFrozen Yourself");
- TogglePlayerControllable(playerid,1);
- return 1;
- }
- if (strcmp("/nigger", cmdtext, true, 10) == 0)
- {
- new name[ 24 ], string[ 64 ];
- GetPlayerName( playerid, name, 24 );
- // Format the passed-away message properly, and show it to everyone!
- format( string, sizeof(string), "%s says hes a nigger", name );
- GameTextForAll( string, 5000, 3 );
- return 1;
- }
- if (strcmp("/kill", cmdtext, true, 10) == 0)
- {
- SetPlayerHealth(playerid, 0.0);
- return 1;
- }
- return 0;
- }
- public OnPlayerInfoChange(playerid)
- {
- return 1;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- new string[128];
- format(string, sizeof(string), "You're entering vehicle %d",vehicleid);
- SendClientMessage(playerid, 0xFFFFFFFF, string);
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- new string[128];
- format(string, sizeof(string), "INFO: You have exited vehicle ID %d", vehicleid);
- SendClientMessage(playerid, 0xFFFFFFFF, string);
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- new Menu:current;
- current = GetPlayerMenu(playerid);
- if(current == help)
- {
- switch(row)
- {
- case 0:{
- SendClientMessage(playerid, COLOR_GREEN, "Breif: Of Course Some Faggots Gonna Do Something Stupid");
- SendClientMessage(playerid, COLOR_GREEN, "Shortcut: /rules");
- SendClientMessage(playerid, COLOR_GREEN, "1: No Team Killing");
- SendClientMessage(playerid, COLOR_GREEN, "2: No Spam");
- SendClientMessage(playerid, COLOR_GREEN, "3: No CarParking");
- SendClientMessage(playerid, COLOR_GREEN, "4: NO HACKS NO CHEATS NO BUG ABUSE");
- SendClientMessage(playerid, COLOR_GREEN, "5: DOnt Talk About Other Servers");
- }
- case 1:{
- SendClientMessage(playerid, COLOR_BRIGHTRED, "This Motherfuckin Script was motherfuckin");
- SendClientMessage(playerid, COLOR_BRIGHTRED, "Scripted by ANDRE_REECE aka Clean180ollie");
- SendClientMessage(playerid, COLOR_BRIGHTRED, "aka EAZY_E...............................");
- }
- case 2:{
- SendClientMessage(playerid, COLOR_YELLOW, "If You have No Idea What the fuck your doin,");
- SendClientMessage(playerid, COLOR_YELLOW, "This is a Team DeathMatch, You Work with your fellow niggers");
- SendClientMessage(playerid, COLOR_YELLOW, "To Defeat The Other Team.... Thats all");
- }
- case 3:{
- SendClientMessage(playerid, COLOR_PINK, "Breif: The Commands");
- SendClientMessage(playerid, COLOR_PINK, "shortcut: /cmds");
- SendClientMessage(playerid, COLOR_PINK, "Commands Are:");
- SendClientMessage(playerid, COLOR_PINK, "/register, /login, /rules, /kill");
- SendClientMessage(playerid, COLOR_PINK, "/nigger,/unfreezeme,/freezeme");
- SendClientMessage(playerid, COLOR_PINK, "Breif: The Commands");
- }
- }
- }
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- TogglePlayerControllable(playerid,0);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment