Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- #if defined FILTERSCRIPT
- main ( )
- {
- }
- print("\n----------------------------------");
- print("AdvanceDrift GM Feito Do 0% By:Lifer");
- print("----------------------------------\n");
- }
- new Contar = 0;
- #endif
- #pragma tabsize 0
- #define Lifer 9122
- public OnGameModeInit()
- {
- SetGameModeText("[AD]AdvanceDrift V1.0|BR|");
- AddPlayerClass(0, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(135, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(137, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(181, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(213, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(212, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(224, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(230, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(239, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(249, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(241, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(49, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(62, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(66, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(77, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(82, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(134, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(33, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(80, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(87, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(140, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(139, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(145, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(146, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- AddPlayerClass(209, 2337.2092,-1215.9672,22.5000,175.4949, 24, 27, 30, 500, 600, 999);
- //*========================Começando Objetos AD=============================*//
- CreateObject(7392, -311.5270690918, 1547.0114746094, 87.656829833984, 0, 0, 0);
- CreateObject(7388, -259.28302001953, 1542.8149414063, 74.55436706543, 0, 0, 0);
- CreateObject(11417, -302.56790161133, 1585.6751708984, 79.233222961426, 0, 0, 0);
- CreateObject(7073, -347.14953613281, 1541.8885498047, 92.829254150391, 0, 0, 0);
- CreateObject(8483, -302.46112060547, 1380.44140625, 78.026298522949, 0, 0, 95.279479980469);
- CreateObject(9833, -311.52877807617, 1498.88671875, 78.099914550781, 0, 0, 0);
- CreateObject(9833, -293.25100708008, 1498.2421875, 77.962615966797, 0, 0, 0);
- CreateObject(2773, -302.10266113281, 1505.2584228516, 74.960037231445, 0, 0, 0);
- CreateObject(2773, -308.85382080078, 1505.1806640625, 74.960037231445, 0, 0, 0);
- CreateObject(2773, -295.7294921875, 1506.5366210938, 74.960037231445, 0, 0, 0);
- CreateObject(2695, -317.51593017578, 1536.3413085938, 75.293037414551, 0, 0, 0);
- CreateObject(2692, -318.83432006836, 1536.6060791016, 75.308303833008, 0, 0, 0);
- CreateObject(2691, -320.65072631836, 1536.0185546875, 75.502571105957, 0, 0, 0);
- CreateObject(2693, -316.56481933594, 1536.7497558594, 75.271675109863, 0, 0, 0);
- CreateObject(3471, -293.44781494141, 1507.9696044922, 75.837036132813, 0, 0, 95.279479980469);
- CreateObject(3471, -310.54925537109, 1505.7537841797, 75.837036132813, 0, 0, 95.278930664063);
- CreateObject(13831, -463.33868408203, 1631.2005615234, 47.313262939453, 0, 0, 59.549682617188);
- CreateObject(14467, -310.66134643555, 1536.4649658203, 77.296295166016, 0, 0, 0);
- CreateObject(3749, -300.89492797852, 1492.5146484375, 80.728012084961, 0, 0, 0);
- CreateObject(10009, -339.83737182617, 1553.8663330078, 75.123245239258, 0, 0, 265.98876953125);
- CreateObject(3578, -338.74258422852, 1543.20703125, 78.607460021973, 0, 0, 91.309509277344);
- CreateObject(3578, -338.96496582031, 1539.9708251953, 78.857460021973, 0, 0, 91.307373046875);
- CreateObject(3578, -343.19250488281, 1535.7952880859, 78.857460021973, 0, 0, 180.63208007813);
- CreateObject(3578, -346.57635498047, 1540.8826904297, 78.857460021973, 0, 0, 91.307373046875);
- CreateObject(16480, -399.69683837891, 1860.0787353516, 56.286773681641, 0, 0, 45.65478515625);
- CreateObject(1324, -398.24111938477, 2074.2255859375, 62.334190368652, 0, 0, 0);
- CreateObject(1324, -401.66375732422, 2089.3806152344, 62.334190368652, 0, 0, 0);
- CreateObject(1324, -401.6630859375, 2089.3798828125, 62.334190368652, 0, 0, 0);
- CreateObject(3578, -512.93591308594, 1974.9130859375, 60.357460021973, 0, 0, 188.57165527344);
- CreateObject(3578, -504.63049316406, 1976.2022705078, 60.357460021973, 0, 0, 188.5693359375);
- CreateObject(3578, -495.44931030273, 1978.1750488281, 60.357460021973, 0, 0, 198.49426269531);
- CreateObject(3578, -522.58471679688, 1974.0404052734, 60.357460021973, 0, 0, 180.62512207031);
- CreateObject(3578, -532.25592041016, 1975.9499511719, 60.357460021973, 0, 0, 158.78588867188);
- CreateObject(3578, -541.39300537109, 1981.3687744141, 60.357460021973, 0, 0, 136.95050048828);
- CreateObject(3578, -543.79528808594, 1989.3973388672, 60.357460021973, 0, 0, 67.475341796875);
- CreateObject(3578, -538.36291503906, 1997.8541259766, 60.357460021973, 0, 0, 37.697692871094);
- CreateObject(3578, -529.39398193359, 2003.0859375, 60.357460021973, 0, 0, 19.8291015625);
- CreateObject(3578, -523.22698974609, 1999.3951416016, 60.357460021973, 0, 0, 320.27526855469);
- CreateObject(3578, -514.48931884766, 1994.8489990234, 60.357460021973, 0, 0, 342.10827636719);
- CreateObject(3578, -504.75952148438, 1994.2037353516, 60.357460021973, 0, 0, 3.9381103515625);
- CreateObject(3471, -388.41784667969, 2066.1022949219, 61.835205078125, 0, 0, 37.714782714844);
- CreateObject(3471, -391.26913452148, 2069.9340820313, 61.835205078125, 0, 0, 37.710571289063);
- CreateObject(3471, -395.21224975586, 2071.978515625, 61.835205078125, 0, 0, 37.710571289063);
- CreateObject(689, -397.07241821289, 2064.8415527344, 61.423358917236, 0, 0, 0);
- CreateObject(6972, -363.66198730469, 1474.3422851563, 82.595092773438, 0, 0, 101.23449707031);
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid) // Onde Irá ir Para Escolher os Bonecos
- {
- SetPlayerPos(playerid,1025.5751,-2140.7637,39.2032); // PLAYER
- SetPlayerCameraPos(playerid,1019.7552,-2141.0266,37.7274); // CAMERA
- SetPlayerCameraLookAt(playerid,1021.9974,-2140.9907,38.3012); // CAMERA
- SetPlayerFacingAngle(playerid, 82.6125); // ANGULO
- ApplyAnimation(playerid, "PARK", "Tai_Chi_Loop", 4.0, 1, 0, 0, 0, 0); // Animação No Inicio =D
- return 1;
- }
- public OnPlayerConnect(playerid){
- new pName[30], string[256];
- GetPlayerName(playerid, pName, 30);
- format(string, 256, "%s entrou no server AdvanceDrift :D.", pName);
- SendClientMessageToAll(0xFF0000AA ,string);
- return 1;
- }
- //Sair Do Serve
- public OnPlayerDisconnect(playerid){
- new pName[30], string[256];
- GetPlayerName(playerid, pName, 30);
- format(string, 256, "%s /q :(.", pName);
- SendClientMessageToAll(0xFF0000AA ,string);
- return 1;
- }
- //Morto
- public OnPlayerDeath(playerid, killerid, reason) // MORRENDO
- {
- GameTextForPlayer(playerid,"~y~HaHaHaHa ~w~ Morreu!!!",4000,3); // MENSAGEM AO SER MORTO
- if(killerid != INVALID_PLAYER_ID) SetPlayerScore(killerid, GetPlayerScore(killerid) + 1); // ALMENTADO 1 DE LEVEL AO MATAR 1
- SendDeathMessage(killerid, playerid, reason);
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- if(strcmp(cmdtext, "/admins", true) == 0)
- {
- new Jogador[24];
- new count5;
- new msg[120];
- for(new i=0; i<MAX_PLAYERS; i++){
- if(IsPlayerConnected(i) && IsPlayerAdmin(i)){
- GetPlayerName(i,Jogador,24);
- format(msg,sizeof(msg),"Admins Online: %s", Jogador);
- SendClientMessage(playerid, 0xFFFFFFAA, msg);
- count5++;
- }
- }
- if(count5 == 0){
- SendClientMessage(playerid, 0xFFFFFFAA, "Nenhum Admin Online No Momento Aguarde.");
- }
- return 1;
- }
- if (strcmp("/creditos", cmdtext, true, 10) == 0)
- {
- new creditos[300];
- strins(creditos,"\n",strlen(creditos));
- strins(creditos,"{7491F6}Criado Por :Lifer\n GM Feito Do 0%",strlen(creditos)); //MENSAGEM
- strins(creditos,"\n",strlen(creditos));
- ShowPlayerDialog(playerid,8439, DIALOG_STYLE_MSGBOX, "{F60000} ----------- Créditos ----------- ",creditos, "Fechar", ""); // 1 BOTAO APENAR
- return 1;
- }
- if(strcmp(cmdtext,"/ajuda",true)==0)
- {
- new ajuda[1000]; //
- strins(ajuda,"\n",strlen(ajuda));
- strins(ajuda,"{7491F6}/admins /creditos /teleportes /kill /grana \n",strlen(ajuda));
- strins(ajuda,"{7491F6}Para Administradores : /grana /admins\n",strlen(ajuda));
- ShowPlayerDialog(playerid,8439, DIALOG_STYLE_MSGBOX, "{F60000} ----------------- Ajuda --------------- ",ajuda, "Fechar", "");
- return 1;
- }
- return SendClientMessage(playerid, 0xAA3333AA, "[AdvanceDrift]Comando Desconhecido Pelo Servidor");
- }
Advertisement
Add Comment
Please, Sign In to add comment