Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #include <core>
- #include <float>
- #include <xStreamer>
- #pragma tabsize 0
- //ZONA GANG GROOVE
- new zonagroove;
- //ZONA GANG BALLAS
- new zonaballas;
- //ZONA GANG VAGOS
- new zonavagos;
- //ZONA GANG ATZECAS
- new zonatzecas;
- //PLAYERS GANG
- new gangroove = 0;
- //TEAM
- #define Groove Street 0
- #define Ballas 1
- #define Vagos 2
- #define Atzecas 3
- #define Polizia 4
- #define Mafia 4
- #define Bikers 6
- //TEXT PLAYER NELLE GANGS
- new Text:textgroove;
- new Text:textballas;
- new Text:textvagos;
- new Text:textatzecas;
- new Text:playersgang;
- //TEXT INFO
- new Text:playerstotali;
- new Text:spazio;
- new Text:nomegm;
- new Text:autore;
- //CONNECT
- new string[256],name[MAX_PLAYER_NAME];
- //COLORI
- #define COLOR_RED 0xAA3333AA
- #define COLOR_GREY 0xAFAFAFAA
- #define COLOR_GREEN 0x33AA33AA
- #define COLOR_RED 0xAA3333AA
- #define COLOR_YELLOW 0xFFFF00AA
- #define COLOR_WHITE 0xFFFFFFAA
- #define PINK 0xFF66FFAA
- #define LIGHTBLUE 0x00BFFFAA
- #define PURPLE 0x9900FFAA
- #define BLACK 0x000000AA
- #define ORANGE 0xF97804AA
- #define BLUE 0x0000FFAA
- main()
- {
- print("\n----------------------------------");
- print(" GangWar GM v.1.0.1 by [ZX]_BlAde");
- print("----------------------------------\n");
- }
- public OnGameModeInit()
- {
- SetGameModeText("GangWar GM v.1.0.1 by [ZX]_BlAde");
- UsePlayerPedAnims();
- //////////////////////////////////////////[OGGETTI]////////////////////////////////////////////////////////////
- //SCALE GANGS
- CreateStreamedObject(8613, 2613.2944335938, -1065.1951904297, 72.716873168945, 0, 0, 0);
- CreateStreamedObject(8615, 2039.9797363281, -1109.9654541016, 27.180425643921, 0, 0, 181.35131835938);
- CreateStreamedObject(8613, 1927.9582519531, -2073.4194335938, 15.466588973999, 0, 0, 183.33630371094);
- //////////////////////////////////////////[VEICOLI]////////////////////////////////////////////////////////////
- //GROOVE STREET
- AddStaticVehicle(487,2530.2830,-1677.0455,19.9302,88.6083,86,1);//MAVERICK
- AddStaticVehicle(567,2483.0061,-1655.8569,13.3153,90.2978,86,1);//MACCHINA 1
- AddStaticVehicle(567,2499.0161,-1656.6808,13.3889,92.0733,86,1);//MACCHINA 2
- AddStaticVehicle(451,2507.2432,-1670.2717,13.3796,12.8828,86,1);//MACCHINA 3
- AddStaticVehicle(567,2471.6128,-1673.2925,13.3341,4.0910,86,1);//MACCHINA 4
- AddStaticVehicle(482,2491.3323,-1682.4792,13.3369,86.7466,86,0);//BURRITO
- AddStaticVehicle(578,2472.4810,-1700.3778,13.5183,352.7274,86,0);//CAMION
- AddStaticVehicle(522,2521.3433,-1711.2371,13.5243,180.4108,86,0);//NRG 1
- AddStaticVehicle(522,2523.2056,-1712.0825,13.5542,180.4108,86,0);//NRG 2
- //BALLAS
- AddStaticVehicle(487,2039.8413,-1113.9447,29.8617,88.7411,156,1);//MAVERICK
- AddStaticVehicle(492,2033.9307,-1131.5229,24.3788,96.1982,156,1);//MACCHINA 1
- AddStaticVehicle(492,1990.9487,-1132.6953,25.5705,83.4140,156,1);//MACCHINA 2
- AddStaticVehicle(492,1975.6765,-1123.8302,25.7942,354.9905,156,1);//MACCHINA 3
- AddStaticVehicle(492,2012.7074,-1111.3458,26.2031,179.4779,156,1);//MACCHINA 4
- AddStaticVehicle(492,1985.7809,-1079.4043,24.8783,169.6210,156,1);//MACCHINA 4
- AddStaticVehicle(413,1993.9128,-1091.0186,24.7140,84.8345,156,1);//PONY 1
- AddStaticVehicle(413,1992.8352,-1096.0474,25.1176,65.6583,156,1);//PONY 2
- AddStaticVehicle(578,2052.0952,-1123.8827,24.2608,182.4910,156,0);//CAMION
- AddStaticVehicle(468,2049.8264,-1106.9272,24.4198,270.4733,156,0);//NRG 1
- AddStaticVehicle(468,2049.8030,-1103.9708,24.4877,270.4733,156,0);//NRG 2
- //VAGOS
- AddStaticVehicle(487,2620.0776,-1068.4387,75.9696,88.1649,6,1);//MAVERICK
- AddStaticVehicle(412,2580.2080,-1043.8097,69.4141,87.1411,6,0);//MACCHINA 1
- AddStaticVehicle(412,2536.3130,-1030.3466,69.5816,178.0504,6,6);//MACCHINA 2
- AddStaticVehicle(412,2542.7451,-1051.3716,69.4141,270.3802,6,6);//MACCHINA 3
- AddStaticVehicle(578,2570.5220,-1029.4540,69.5823,180.0949,6,0);//CAMION
- AddStaticVehicle(413,2596.7725,-1064.2415,69.5786,1.4725,6,1);//PONY 1
- AddStaticVehicle(413,2603.5818,-1064.0664,69.5849,1.4725,6,1);//PONY 2
- AddStaticVehicle(522,2586.9268,-1026.8773,69.5696,175.2094,6,0);//NRG 1
- AddStaticVehicle(522,2530.9404,-1068.3550,69.5660,4.0443,6,0);//NRG 2
- //ATZECAS
- AddStaticVehicle(487,1929.6305,-2088.0920,19.9609,91.5821,86,1);//MAVERICK
- AddStaticVehicle(467,1928.8185,-2141.7732,13.5622,181.8704,184,184);//MACCHINA 1
- AddStaticVehicle(467,1931.9409,-2141.6707,13.7821,181.8704,184,184);//MACCHINA 2
- AddStaticVehicle(467,1938.0920,-2141.4700,13.7823,181.8704,184,184);//MACCHINA 3
- AddStaticVehicle(467,1941.5638,-2141.5386,13.5565,181.8704,184,184);//MACCHINA 4
- AddStaticVehicle(467,1946.6229,-2129.3833,13.5487,266.3877,184,184);//MACCHINA 5
- AddStaticVehicle(467,1946.1504,-2136.8623,14.0123,266.3877,184,184);//MACCHINA 6
- AddStaticVehicle(482,1938.3975,-2092.5085,13.5619,266.3877,184,184);//BURRITO 1
- AddStaticVehicle(482,1939.1140,-2086.8049,13.5607,266.3877,184,184);//BURRITO 2
- AddStaticVehicle(482,1924.9335,-2124.1118,13.5837,5.4646,184,184);//BURRITO 3
- AddStaticVehicle(578,1915.8522,-2085.4846,13.5783,0.4069,184,0);//CAMION
- AddStaticVehicle(522,1946.3577,-2113.8306,13.7806,266.3877,184,184);//NRG 1
- AddStaticVehicle(522,1946.5344,-2111.0300,13.5480,266.3877,184,184);//NRG 2
- AddStaticVehicle(522,1946.1515,-2117.0957,13.5487,266.3877,184,184);//NRG 3
- //////////////////////////////////////////[TERRITORI]////////////////////////////////////////////////////////////
- //GROOVE 1
- zonagroove = GangZoneCreate(2542.0840,-1729.4027, 2352.0459,-1621.9335);
- zonaballas = GangZoneCreate(1874.8818,-1066.8101, 2056.5996,-1129.7382);
- zonavagos = GangZoneCreate(2629.3367,-986.2607, 2490.1360,-1156.3887);
- zonatzecas = GangZoneCreate(1956.5854,-2158.7512, 1826.6040,-2059.5596);
- //////////////////////////////////////////[SKIN]////////////////////////////////////////////////////////////////
- //GROOVE
- AddPlayerClass(105, 2495.3125,-1689.1324,14.2400,9.5041, 9, 1, 32, 2000, 24, 1500);
- AddPlayerClass(106, 2495.3125,-1689.1324,14.2400,9.5041, 9, 1, 32, 2000, 24, 1500);
- AddPlayerClass(107, 2495.3125,-1689.1324,14.2400,9.5041, 9, 1, 32, 2000, 24, 1500);
- AddPlayerClass(270, 2495.3125,-1689.1324,14.2400,9.5041, 9, 1, 32, 2000, 24, 1500);
- AddPlayerClass(271, 2495.3125,-1689.1324,14.2400,9.5041, 9, 1, 32, 2000, 24, 1500);
- //BALLAS
- AddPlayerClass(102, 2000.0258,-1121.1666,26.7448,173.6134, 5, 1, 25, 3000, 29, 3500);
- AddPlayerClass(103, 2000.0258,-1121.1666,26.7448,173.6134, 5, 1, 25, 3000, 29, 3500);
- AddPlayerClass(104, 2000.0258,-1121.1666,26.7448,173.6134, 5, 1, 25, 3000, 29, 3500);
- //VAGOS
- AddPlayerClass(108, 2575.1094,-1037.1385,69.5848,192.7929, 6, 1, 26, 1000, 30, 5000);
- AddPlayerClass(109, 2575.1094,-1037.1385,69.5848,192.7929, 6, 1, 26, 1000, 30, 5000);
- AddPlayerClass(110, 2575.1094,-1037.1385,69.5848,192.7929, 6, 1, 26, 1000, 30, 5000);
- //ATZECAS
- AddPlayerClass(114, 1931.7733,-2110.7942,13.6953,268.2493, 4, 1, 28, 1000, 31, 4000);
- AddPlayerClass(115, 1931.7733,-2110.7942,13.6953,268.2493, 4, 1, 28, 1000, 31, 4000);
- AddPlayerClass(116, 1931.7733,-2110.7942,13.6953,268.2493, 4, 1, 28, 1000, 31, 4000);
- AddPlayerClass(292, 1931.7733,-2110.7942,13.6953,268.2493, 4, 1, 28, 1000, 31, 4000);
- //POLIZIA
- AddPlayerClass(280, 261.2999,71.1934,1003.2422,274.9987, 3, 1, 23, 3500, 27, 2000);
- AddPlayerClass(284, 261.2999,71.1934,1003.2422,274.9987, 3, 1, 23, 3500, 27, 2000);
- AddPlayerClass(285, 261.2999,71.1934,1003.2422,274.9987, 3, 1, 23, 3500, 27, 2000);
- AddPlayerClass(286, 261.2999,71.1934,1003.2422,274.9987, 3, 1, 23, 3500, 27, 2000);
- //MAFIA
- AddPlayerClass(124, 297.4743,-1158.0006,80.9099,132.3339, 4, 1, 29, 5000, 34, 1000);
- AddPlayerClass(125, 297.4743,-1158.0006,80.9099,132.3339, 4, 1, 29, 5000, 34, 1000);
- AddPlayerClass(126, 297.4743,-1158.0006,80.9099,132.3339, 4, 1, 29, 5000, 34, 1000);
- AddPlayerClass(127, 297.4743,-1158.0006,80.9099,132.3339, 4, 1, 29, 5000, 34, 1000);
- AddPlayerClass(272, 297.4743,-1158.0006,80.9099,132.3339, 4, 1, 29, 5000, 34, 1000);
- //BIKERS
- AddPlayerClass(247, 973.5109,-1829.7964,13.3227,139.6622, 7, 1, 22, 2000, 25, 2500);
- AddPlayerClass(248, 973.5109,-1829.7964,13.3227,139.6622, 7, 1, 22, 2000, 25, 2500);
- AddPlayerClass(181, 973.5109,-1829.7964,13.3227,139.6622, 7, 1, 22, 2000, 25, 2500);
- //////////////////////////////////////////[TEXTDRAW]////////////////////////////////////////////////////////////////
- //TEXT PLAYERS NELLE GANG
- textgroove = TextDrawCreate(13.000000, 145.000000, "Groove= 0");
- TextDrawBackgroundColor(textgroove, 255);
- TextDrawFont(textgroove, 3);
- TextDrawLetterSize(textgroove, 0.500000, 1.000000);
- TextDrawColor(textgroove, 16711935);
- TextDrawSetOutline(textgroove, 0);
- TextDrawSetProportional(textgroove, 1);
- TextDrawSetShadow(textgroove, 1);
- TextDrawUseBox(textgroove, 1);
- TextDrawBoxColor(textgroove, 255);
- TextDrawTextSize(textgroove, 114.000000, 67.000000);
- textballas = TextDrawCreate(13.000000, 157.000000, "Ballas= 0");
- TextDrawBackgroundColor(textballas, 255);
- TextDrawFont(textballas, 3);
- TextDrawLetterSize(textballas, 0.500000, 1.000000);
- TextDrawColor(textballas, -16711681);
- TextDrawSetOutline(textballas, 0);
- TextDrawSetProportional(textballas, 1);
- TextDrawSetShadow(textballas, 1);
- TextDrawUseBox(textballas, 1);
- TextDrawBoxColor(textballas, 255);
- TextDrawTextSize(textballas, 114.000000, 0.000000);
- textvagos = TextDrawCreate(13.000000, 169.000000, "Vagos= 0");
- TextDrawBackgroundColor(textvagos, 255);
- TextDrawFont(textvagos, 3);
- TextDrawLetterSize(textvagos, 0.500000, 1.000000);
- TextDrawColor(textvagos, -65281);
- TextDrawSetOutline(textvagos, 0);
- TextDrawSetProportional(textvagos, 1);
- TextDrawSetShadow(textvagos, 1);
- TextDrawUseBox(textvagos, 1);
- TextDrawBoxColor(textvagos, 255);
- TextDrawTextSize(textvagos, 114.000000, 0.000000);
- textatzecas = TextDrawCreate(13.000000, 181.000000, "Atzecas= 0");
- TextDrawBackgroundColor(textatzecas, 255);
- TextDrawFont(textatzecas, 3);
- TextDrawLetterSize(textatzecas, 0.500000, 1.000000);
- TextDrawColor(textatzecas, 16777215);
- TextDrawSetOutline(textatzecas, 0);
- TextDrawSetProportional(textatzecas, 1);
- TextDrawSetShadow(textatzecas, 1);
- TextDrawUseBox(textatzecas, 1);
- TextDrawBoxColor(textatzecas, 255);
- TextDrawTextSize(textatzecas, 114.000000, 0.000000);
- playersgang = TextDrawCreate(13.000000, 133.000000, "Players Gang:");
- TextDrawBackgroundColor(playersgang, 255);
- TextDrawFont(playersgang, 0);
- TextDrawLetterSize(playersgang, 0.589999, 1.000000);
- TextDrawColor(playersgang, -1);
- TextDrawSetOutline(playersgang, 0);
- TextDrawSetProportional(playersgang, 1);
- TextDrawSetShadow(playersgang, 1);
- TextDrawUseBox(playersgang, 1);
- TextDrawBoxColor(playersgang, 255);
- TextDrawTextSize(playersgang, 114.000000, 0.000000);
- /////////////////////////////////////////////////[TEXT INFO GENERALI]///////////////////////////////////////////////
- playerstotali = TextDrawCreate(2.000000, 437.000000, "Players Totali: 0");
- TextDrawBackgroundColor(playerstotali, 255);
- TextDrawFont(playerstotali, 2);
- TextDrawLetterSize(playerstotali, 0.440000, 1.000000);
- TextDrawColor(playerstotali, -16776961);
- TextDrawSetOutline(playerstotali, 0);
- TextDrawSetProportional(playerstotali, 1);
- TextDrawSetShadow(playerstotali, 1);
- TextDrawUseBox(playerstotali, 1);
- TextDrawBoxColor(playerstotali, 65535);
- TextDrawTextSize(playerstotali, 175.000000, 0.000000);
- nomegm = TextDrawCreate(203.000000, 437.000000, "Los Santos GangWar");
- TextDrawBackgroundColor(nomegm, 255);
- TextDrawFont(nomegm, 2);
- TextDrawLetterSize(nomegm, 0.440000, 1.000000);
- TextDrawColor(nomegm, -1);
- TextDrawSetOutline(nomegm, 0);
- TextDrawSetProportional(nomegm, 1);
- TextDrawSetShadow(nomegm, 1);
- TextDrawUseBox(nomegm, 1);
- TextDrawBoxColor(nomegm, 65535);
- TextDrawTextSize(nomegm, 430.000000, 3.000000);
- autore = TextDrawCreate(434.000000, 437.000000, "by BlAde [][][]");
- TextDrawBackgroundColor(autore, 255);
- TextDrawFont(autore, 2);
- TextDrawLetterSize(autore, 0.460000, 1.000000);
- TextDrawColor(autore, 16711935);
- TextDrawSetOutline(autore, 0);
- TextDrawSetProportional(autore, 1);
- TextDrawSetShadow(autore, 1);
- TextDrawUseBox(autore, 1);
- TextDrawBoxColor(autore, 65535);
- TextDrawTextSize(autore, 638.000000, -1.000000);
- spazio = TextDrawCreate(203.000000, 437.000000, "~n~");
- TextDrawBackgroundColor(spazio, 255);
- TextDrawFont(spazio, 2);
- TextDrawLetterSize(spazio, 0.500000, 1.000000);
- TextDrawColor(spazio, -1);
- TextDrawSetOutline(spazio, 0);
- TextDrawSetProportional(spazio, 1);
- TextDrawSetShadow(spazio, 1);
- TextDrawUseBox(spazio, 1);
- TextDrawBoxColor(spazio, 65535);
- TextDrawTextSize(spazio, 175.000000, 0.000000);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- PlayerPlaySound(playerid,1097,0.0,0.0,0.0);
- //SKIN GROOVE
- new skingang=GetPlayerSkin(playerid);
- switch(skingang){
- case 105,106,107,270,271:{
- SetPlayerPos(playerid,2532.1489,-1667.7682,15.1690);
- SetPlayerCameraPos(playerid,2528.1104,-1667.6498,15.3889);
- SetPlayerCameraLookAt(playerid,2532.1489,-1667.7682,15.1690);
- GameTextForPlayer(playerid,"~g~Groove Street",900, 6);
- SetPlayerFacingAngle(playerid,92.8243);
- ApplyAnimation(playerid,"LOWRIDER", "RAP_B_Loop",4.0,1,1,1,1,-1);
- SetPlayerInterior(playerid,0);
- SetPlayerColor(playerid,COLOR_GREEN);
- }
- }
- //SKIN BALLAS
- switch(skingang){
- case 102,103,104:{
- SetPlayerPos(playerid,1967.2831,-1176.5343,20.0307);
- SetPlayerCameraPos(playerid,1967.3000,-1180.5172,20.1669);
- SetPlayerCameraLookAt(playerid,1967.2831,-1176.5343,20.0307);
- GameTextForPlayer(playerid,"~p~Ballas",900, 6);
- SetPlayerFacingAngle(playerid,181.6516);
- ApplyAnimation(playerid,"GHANDS","gsign3",4.0,1,1,1,1,-1);
- SetPlayerInterior(playerid,0);
- SetPlayerColor(playerid,PURPLE);
- }
- }
- //SKIN VAGOS
- switch(skingang){
- case 108,109,110:{
- SetPlayerPos(playerid,2543.6130,-1062.8179,69.5660);
- SetPlayerCameraPos(playerid,2543.7168,-1059.1829,69.5696);
- SetPlayerCameraLookAt(playerid,2543.6130,-1062.8179,69.5660);
- GameTextForPlayer(playerid,"~y~Vagos",900, 6);
- SetPlayerFacingAngle(playerid,358.3640);
- ApplyAnimation(playerid,"RIOT", "RIOT_CHANT",4.0,1,1,1,1,-1);
- SetPlayerInterior(playerid,0);
- SetPlayerColor(playerid,COLOR_YELLOW);
- }
- }
- //SKIN ATZECAS
- switch(skingang){
- case 114,115,116,292:{
- SetPlayerPos(playerid,1925.1343,-2075.7058,13.5595);
- SetPlayerCameraPos(playerid,1924.4897,-2069.0208,13.5500);
- SetPlayerCameraLookAt(playerid,1925.1343,-2075.7058,13.5595);
- GameTextForPlayer(playerid,"~y~Atzecas",900, 6);
- SetPlayerFacingAngle(playerid,5.5076);
- ApplyAnimation(playerid,"LOWRIDER", "RAP_C_Loop",4.0,1,1,1,1,-1);
- SetPlayerInterior(playerid,0);
- SetPlayerColor(playerid,LIGHTBLUE);
- }
- }
- //SKIN POLIZIA
- switch(skingang){
- case 280,284,285,286:{
- SetPlayerPos(playerid,261.2999,71.1934,1003.2422);
- SetPlayerCameraPos(playerid,264.0736,71.4360,1003.2422);
- SetPlayerCameraLookAt(playerid,261.2999,71.1934,1003.2422);
- GameTextForPlayer(playerid,"~b~Polizia",900, 6);
- SetPlayerFacingAngle(playerid,274.9987);
- ApplyAnimation(playerid,"SHOP", "ROB_Loop_Threat",4.0,1,1,1,1,-1);
- SetPlayerInterior(playerid,6);
- SetPlayerColor(playerid,BLUE);
- }
- }
- //SKIN MAFIA
- switch(skingang){
- case 124,125,126,127,272:{
- SetPlayerPos(playerid,186.7737,-1219.0961,78.3750);
- SetPlayerCameraPos(playerid,185.0068,-1216.1970,78.3750);
- SetPlayerCameraLookAt(playerid,186.7737,-1219.0961,78.3750);
- GameTextForPlayer(playerid,"~l~Mafia ",900, 6);
- SetPlayerFacingAngle(playerid,31.7827);
- ApplyAnimation(playerid,"PED","fucku",4.0,1,1,1,1,-1);
- SetPlayerInterior(playerid,0);
- SetPlayerColor(playerid,BLACK);
- }
- }
- //BIKERS
- switch(skingang){
- case 247,248,181:{
- SetPlayerPos(playerid,428.1703,-1757.6730,8.2410);
- SetPlayerCameraPos(playerid,428.5512,-1760.1532,8.1009);
- SetPlayerCameraLookAt(playerid,428.1703,-1757.6730,8.2410);
- GameTextForPlayer(playerid,"~y~Bikers",900, 6);
- SetPlayerFacingAngle(playerid,184.4066);
- SetPlayerInterior(playerid,0);
- SetPlayerColor(playerid,ORANGE);
- }
- }
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- SendClientMessage(playerid,COLOR_YELLOW,"____________________________[GangWar GM]_______________________________");
- SendClientMessage(playerid,COLOR_YELLOW," Scriptata da:[ZX]_BlAde Aggiornamento:Giornaliero Linee: 670");
- GetPlayerName(playerid,name,sizeof(name));
- format(string,sizeof(string),"%s è entrato nel Server!!",name);
- SendClientMessageToAll(ORANGE,string);
- SendClientMessage(playerid,COLOR_YELLOW,"Se non hai un account,digita /register [password],se sei già registrato,digita /login [password].");
- //TEXYDRAW PLAYER GANG
- TextDrawShowForPlayer(playerid,textgroove);
- TextDrawShowForPlayer(playerid,textballas);
- TextDrawShowForPlayer(playerid,textvagos);
- TextDrawShowForPlayer(playerid,textatzecas);
- TextDrawShowForPlayer(playerid,playersgang);
- //TEXTDRAW INFO GENERALI
- TextDrawShowForPlayer(playerid,playerstotali);
- TextDrawShowForPlayer(playerid,nomegm);
- TextDrawShowForPlayer(playerid,autore);
- TextDrawShowForPlayer(playerid,spazio);
- //TERRITORIO GROOVE 1
- GangZoneShowForPlayer(playerid, zonagroove, 0x33AA33AA);
- GangZoneShowForPlayer(playerid, zonaballas, 0x9900FFAA);
- GangZoneShowForPlayer(playerid, zonavagos, 0xFFFF00AA);
- GangZoneShowForPlayer(playerid, zonatzecas, 0x00BFFFAA);
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- new rname[256];
- switch(reason) {
- case 0: rname="TimeOut";case 1: rname="Uscito"; case 2: rname="Kickato/Bannato";
- }
- GetPlayerName(playerid,name,sizeof(name));
- format(string,sizeof(string),"%s è uscito dal Server! [%s]",name,rname);
- SendClientMessageToAll(ORANGE,string);
- //GROOVE
- pconnect--;
- TextDrawSetString(textgroove,gangroove);
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- SetPlayerInterior(playerid,0);
- //GROOVE TABELLA
- new tabella=GetPlayerSkin(playerid);
- switch(tabella){
- case 105,106,107,270,271:{
- gangroove++;
- TextDrawSetString(textgroove,gangroove);
- }
- }
- //BALLAS TABELLA
- switch(tabella){
- case 102,103,104:{
- }
- }
- //VAGOS TABELLA
- switch(tabella){
- case 108,109,110:{
- }
- }
- //ATZECAS TABELLA
- switch(tabella){
- case 114,115,116,292:{
- }
- }
- //MUSICA
- PlayerPlaySound(playerid,1184,0.0,0.0,0.0);
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- return 0;
- }
- public OnPlayerEnterVehicle(playerid, vehicleid, ispassenger)
- {
- return 1;
- }
- public OnPlayerExitVehicle(playerid, vehicleid)
- {
- return 1;
- }
- public OnPlayerStateChange(playerid, newstate, oldstate)
- {
- return 1;
- }
- public OnPlayerEnterCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerEnterRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnPlayerLeaveRaceCheckpoint(playerid)
- {
- return 1;
- }
- public OnRconCommand(cmd[])
- {
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnVehicleMod(playerid, vehicleid, componentid)
- {
- return 1;
- }
- public OnVehiclePaintjob(playerid, vehicleid, paintjobid)
- {
- return 1;
- }
- public OnVehicleRespray(playerid, vehicleid, color1, color2)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- public OnPlayerInteriorChange(playerid, newinteriorid, oldinteriorid)
- {
- return 1;
- }
- public OnPlayerKeyStateChange(playerid, newkeys, oldkeys)
- {
- return 1;
- }
- public OnRconLoginAttempt(ip[], password[], success)
- {
- return 1;
- }
- public OnPlayerUpdate(playerid)
- {
- return 1;
- }
- public OnPlayerStreamIn(playerid, forplayerid)
- {
- return 1;
- }
- public OnPlayerStreamOut(playerid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamIn(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnVehicleStreamOut(vehicleid, forplayerid)
- {
- return 1;
- }
- public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
- {
- return 1;
- }
- public OnPlayerClickPlayer(playerid, clickedplayerid, source)
- {
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement