13.05.2012, 02:18
Galera este GM eu fiz faz tempinho Mais nгo utilizo и Bom pra base e resolvi postar!
Comandos:
/Paraquedas, /Skin, /Regras, /NickNovo, /Mudar, /Creditos /Kit1, /Kit2, /Armas, /Teles, /Ajuda, /Telesa
Teles:
/Eq, /Ap, /Tv, /Facu, /Aeroab, /Fc, /Fz, /Deserto, /Bs, /Chilliad, /vb, /pc, /bb
Teles Arena:
/X1, /ArenaW, /Granada, /Extintor, /Eagle, /Mp5, /Serra, /Shot, /Arena, /Bz, /Mg, /Cs
Creditos: Diogo
Comandos:
/Paraquedas, /Skin, /Regras, /NickNovo, /Mudar, /Creditos /Kit1, /Kit2, /Armas, /Teles, /Ajuda, /Telesa
Teles:
/Eq, /Ap, /Tv, /Facu, /Aeroab, /Fc, /Fz, /Deserto, /Bs, /Chilliad, /vb, /pc, /bb
Teles Arena:
/X1, /ArenaW, /Granada, /Extintor, /Eagle, /Mp5, /Serra, /Shot, /Arena, /Bz, /Mg, /Cs
Code:
/*===============================================================================================================*/ /* || Game Mode Base Feito Por Diogo || */ /*===============================================================================================================*/ #include <a_samp> #include <zcmd> #include <sscanf2> /*===============================================================================================================*/ #define Preto 0x000000AA #define Rosa 0x0000FFAA #define Cinza 0xB1B1B1AA #define Amarelo 0xFFFF00AA #define Branco 0xFFFFFFAA #define Verde 0x33FF33AA #define AZULCLARO 0x00FFFFFF #define vermelho 0xFF0000AA #define Azulzin 0x33CCFFAA /*===============================================================================================================*/ new PlayerName[MAX_PLAYER_NAME], str[128]; new Float:ArenaCsSpawn[2][3] = { {2948.6646,-1511.3983,747.4971}, {2974.5920,-1481.5300,747.4971} }; new Float:arenas[9][3]= { {1059.3544,1300.4943,10.4798}, {1060.2035,1267.5544,10.4810}, {1061.1577,1230.6373,10.4867}, {1073.5831,1227.9899,10.4852}, {1090.7494,1227.8212,10.4790}, {1095.4459,1254.2930,10.4757}, {1094.2643,1296.0249,10.4779}, {1080.1599,1298.7046,10.4791}, {1076.6558,1264.7778,10.4779} }; new Float:SpawnRandomArena1[10][3] = { {-1466.8792,424.6537,46.1641}, {-1442.1022,402.2485,46.1641}, {-1359.7217,349.0757,46.1641}, {-1358.9552,426.6598,46.1641}, {-1452.0695,350.9846,46.1641}, {-1412.5990,417.8553,31.6283}, {-1354.9829,383.5898,32.7833}, {-1401.9127,431.7229,33.6103}, {-1418.1667,346.4828,30.0820}, {-1381.6235,394.2837,31.5765} }; /*===============================================================================================================*/ main() { print(" |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|"); print(" ||||||||||||||||||||||||||Criador:||||||||||||||||||||||||"); print(" ||||||||||||||||||||||||||||Diogo|||||||||||||||||||||||||||"); print(" ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||"); print(" |||||||||||||(GM)|GameMode|Base|de|Deathc|Mathc|||||||||||||"); print(" ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||"); print(" |~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|"); } /*===============================================================================================================*/ public OnPlayerConnect(playerid) { new info[256]; new tmp3[50]; GetPlayerIp(playerid,tmp3,50); GetPlayerName( playerid, PlayerName, MAX_PLAYER_NAME); format(str, sizeof (str), " *** %s (%d) entrou no servidor", PlayerName, playerid); SendClientMessageToAll( Cinza, str); SendClientMessage( playerid, Verde, "||=================================================================|| "); SendClientMessage( playerid, Verde, "|| Bem vindo ao Servidor Estilo DM'|| Mate A Vontade || "); SendClientMessage( playerid, Cinza, "|| /Creditos || /Comandos || /Ajuda|| /Teles ||"); SendClientMessage( playerid, Verde, "||=================================================================|| "); format(info, sizeof(info), "{FFFFFF}||====================================||\n{FFFFFF} Bem Vindo ao Servidor Espero que Goste! \n Info:\n {FF00FF}Nick: {FFFFFF}%s\n {FF00FF}Ip:{FFFFFF}%s\n||====================================||",PlayerName,tmp3); ShowPlayerDialog(playerid,99,DIALOG_STYLE_MSGBOX," ",info,"OK",""); return 1; } /*===============================================================================================================*/ public OnPlayerDisconnect(playerid, reason) { GetPlayerName( playerid, PlayerName, MAX_PLAYER_NAME); format(str, sizeof (str), " *** %s saiu do servidor", PlayerName); SendClientMessageToAll( Cinza, str); return 1; } /*===============================================================================================================*/ public OnPlayerSpawn(playerid) { SetPlayerInterior( playerid, 0); SetPlayerVirtualWorld( playerid, 0); SetPlayerPos(playerid,2121.3225,957.2264,10.8130); GivePlayerWeapon( playerid, 26, 99999); PlayerPlaySound( playerid, 1098, 0.0, 0.0, 0.0); SetPlayerArmour( playerid, 100); return 1; } /*===============================================================================================================*/ public OnGameModeInit() { UsePlayerPedAnims(); SetTimer("NitroReset", 3000, 1); for(new skins = 3; skins < 299; skins++) { AddPlayerClass(skins,1958.3783,1343.1572,15.3746,270.1425,24,100000,26,100000,32,100000); } CreateObject(3997,2948.63476562,-1472.52636719,746.49713135,0.00000000,0.00000000,0.00000000); //object(cityhallblok_lan) (1) CreateObject(11088,2905.96826200,-1453.53991700,753.25402800,0.00000000,0.00000000,0.00000000); //object(cf_ext_dem_sfs) (1) CreateObject(11428,2974.14404300,-1460.90637200,752.00018300,0.00000000,0.00000000,0.00000000); //object(des_indruin02) (1) CreateObject(11440,2964.97827100,-1483.47253400,746.01898200,0.00000000,0.00000000,0.00000000); //object(des_pueblo1) (1) CreateObject(11427,2995.99536100,-1500.74389600,753.68701200,0.00000000,0.00000000,89.99998128); //object(des_adobech) (1) CreateObject(11426,2973.96240200,-1492.24267600,746.39062500,0.00000000,0.00000000,-89.99998128); //object(des_adobe03) (1) CreateObject(11440,2983.62329100,-1491.28454600,745.99395800,0.00000000,0.00000000,0.00000000); //object(des_pueblo1) (2) CreateObject(11441,3010.45336900,-1424.56372100,746.67205800,0.00000000,0.00000000,0.00000000); //object(des_pueblo5) (1) CreateObject(11442,3009.56005900,-1432.21643100,746.67089800,0.00000000,0.00000000,0.00000000); //object(des_pueblo3) (1) CreateObject(11443,3000.27221700,-1427.73999000,746.66888400,0.00000000,0.00000000,-180.00001985); //object(des_pueblo4) (1) CreateObject(11444,2959.11401400,-1462.32116700,746.49011200,0.00000000,0.00000000,0.00000000); //object(des_pueblo2) (1) CreateObject(11442,2956.57177700,-1450.56994600,746.67089800,0.00000000,0.00000000,-89.99998128); //object(des_pueblo3) (2) CreateObject(11441,2962.56713900,-1441.76635700,746.67205800,0.00000000,0.00000000,0.00000000); //object(des_pueblo5) (2) CreateObject(11442,2953.08056600,-1441.14685100,746.67089800,0.00000000,0.00000000,-89.99998128); //object(des_pueblo3) (3) CreateObject(11443,2953.28808600,-1431.40173300,746.59381100,0.00000000,0.00000000,-180.00001985); //object(des_pueblo4) (2) CreateObject(11445,2944.22607400,-1425.89306600,746.66888400,0.00000000,0.00000000,89.99998128); //object(des_pueblo06) (1) CreateObject(11446,2962.19531300,-1436.85253900,746.67205800,0.00000000,0.00000000,0.00000000); //object(des_pueblo07) (1) CreateObject(11447,2954.95947300,-1423.66015600,746.49127200,0.00000000,0.00000000,0.00000000); //object(des_pueblo08) (1) CreateObject(11447,2987.64013700,-1469.43823200,746.46624800,0.00000000,0.00000000,-89.99998128); //object(des_pueblo08) (2) CreateObject(11457,2971.27880900,-1422.68762200,746.09832800,0.00000000,0.00000000,0.00000000); //object(des_pueblo09) (1) CreateObject(11458,2979.76342800,-1453.98217800,746.66906700,0.00000000,0.00000000,0.00000000); //object(des_pueblo10) (1) CreateObject(11459,2955.10620100,-1423.79919400,749.34881600,0.00000000,0.00000000,-89.99998128); //object(des_pueblo11) (1) CreateObject(11458,3005.70288100,-1491.26770000,746.66906700,0.00000000,0.00000000,0.00000000); //object(des_pueblo10) (2) CreateObject(11459,3014.51171900,-1510.55419900,746.49530000,0.00000000,0.00000000,-89.99998128); //object(des_pueblo11) (2) CreateObject(11458,3009.78686500,-1517.19018600,746.66906700,0.00000000,0.00000000,-89.99998128); //object(des_pueblo10) (3) CreateObject(11457,2986.69702100,-1430.92309600,746.09832800,0.00000000,0.00000000,0.00000000); //object(des_pueblo09) (2) CreateObject(11446,2995.08252000,-1489.13378900,746.67205800,0.00000000,0.00000000,0.00000000); //object(des_pueblo07) (2) CreateObject(11444,2998.71508800,-1483.30859400,746.49011200,0.00000000,0.00000000,0.00000000); //object(des_pueblo2) (2) CreateObject(11443,3013.29516600,-1485.33752400,746.66888400,0.00000000,0.00000000,89.99998128); //object(des_pueblo4) (3) CreateObject(11441,3015.72241200,-1495.96008300,746.67205800,0.00000000,0.00000000,-89.99998128); //object(des_pueblo5) (3) CreateObject(11442,3020.40210000,-1476.42907700,746.54577600,0.00000000,0.00000000,89.99998128); //object(des_pueblo3) (4) CreateObject(11441,3012.45874000,-1475.39794900,746.67205800,0.00000000,0.00000000,0.00000000); //object(des_pueblo5) (4) CreateObject(11440,3001.91137700,-1453.90258800,746.09405500,0.00000000,0.00000000,0.00000000); //object(des_pueblo1) (3) CreateObject(11440,3015.66308600,-1465.28100600,746.09405500,0.00000000,0.00000000,89.99998128); //object(des_pueblo1) (4) CreateObject(11428,2931.99462900,-1429.07666000,751.89270000,0.00000000,0.00000000,-191.24998886); //object(des_indruin02) (2) CreateObject(11427,2941.20288100,-1486.74939000,753.63696300,0.00000000,0.00000000,89.99998128); //object(des_adobech) (2) CreateObject(11426,2958.84448200,-1489.75195300,746.49072300,0.00000000,0.00000000,0.00000000); //object(des_adobe03) (2) CreateObject(11441,2957.47192400,-1481.04895000,746.67205800,0.00000000,0.00000000,0.00000000); //object(des_pueblo5) (5) CreateObject(11442,2972.25000000,-1444.14978000,746.67089800,0.00000000,0.00000000,0.00000000); //object(des_pueblo3) (5) CreateObject(11446,2993.91650400,-1474.48498500,746.64703400,0.00000000,0.00000000,0.00000000); //object(des_pueblo07) (3) CreateObject(11445,2988.73144500,-1452.99108900,746.66888400,0.00000000,0.00000000,-89.99998128); //object(des_pueblo06) (2) CreateObject(11444,3021.41674800,-1454.48486300,746.49011200,0.00000000,0.00000000,0.00000000); //object(des_pueblo2) (3) CreateObject(11446,2980.87866200,-1460.61645500,746.67205800,0.00000000,0.00000000,0.00000000); //object(des_pueblo07) (4) CreateObject(11445,2996.06884800,-1463.00048800,746.66888400,0.00000000,0.00000000,0.00000000); //object(des_pueblo06) (3) CreateObject(11445,3017.92431600,-1520.58032200,746.66888400,0.00000000,0.00000000,-89.99998128); //object(des_pueblo06) (4) CreateObject(11445,3002.34741200,-1522.74023400,746.66888400,0.00000000,0.00000000,-270.00000112); //object(des_pueblo06) (5) CreateObject(11446,2998.31030300,-1515.06359900,746.67205800,0.00000000,0.00000000,0.00000000); //object(des_pueblo07) (5) CreateObject(11446,3025.02685500,-1509.09314000,746.67205800,0.00000000,0.00000000,-180.00001985); //object(des_pueblo07) (6) CreateObject(11445,2940.25439500,-1448.24682600,746.64386000,0.00000000,0.00000000,-359.99998240); //object(des_pueblo06) (6) CreateObject(976,2868.76171900,-1412.71984900,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (1) CreateObject(976,2877.63305700,-1412.68737800,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (2) CreateObject(976,2886.35424800,-1412.72375500,746.70513900,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (3) CreateObject(976,2895.18627900,-1412.58313000,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (4) CreateObject(976,2903.96460000,-1412.58618200,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (5) CreateObject(976,2912.79858400,-1412.60241700,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (6) CreateObject(976,2921.55664100,-1412.65881300,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (7) CreateObject(976,2930.36523400,-1412.64489700,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (8) CreateObject(976,2939.14941400,-1412.64892600,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (9) CreateObject(976,2947.96728500,-1412.65698200,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (10) CreateObject(976,2956.85546900,-1412.61706500,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (11) CreateObject(976,2965.68872100,-1412.63110400,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (12) CreateObject(976,2974.50634800,-1412.61889600,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (13) CreateObject(976,2983.41601600,-1412.61413600,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (14) CreateObject(976,2992.26025400,-1412.63793900,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (15) CreateObject(976,3001.09472700,-1412.61901900,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (16) CreateObject(976,3009.93335000,-1412.60681200,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (17) CreateObject(976,3018.70556600,-1412.62133800,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (18) CreateObject(976,3020.11132800,-1412.73352100,746.65905800,0.00000000,0.00000000,0.00000000); //object(phils_compnd_gate) (19) CreateObject(976,3028.78735400,-1412.83544900,746.65905800,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (20) CreateObject(976,3028.77832000,-1421.58898900,746.65905800,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (21) CreateObject(976,3028.76928700,-1430.38940400,746.65905800,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (22) CreateObject(976,3028.81958000,-1439.04528800,746.68463100,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (23) CreateObject(976,3028.81713900,-1447.81152300,746.65905800,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (24) CreateObject(976,3028.86743200,-1456.51831100,746.69256600,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (25) CreateObject(976,3028.81567400,-1465.26184100,746.65905800,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (26) CreateObject(976,3028.80127000,-1474.10388200,746.65905800,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (27) CreateObject(976,3028.77392600,-1482.87573200,746.65905800,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (28) CreateObject(976,3028.78466800,-1491.67712400,746.65905800,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (29) CreateObject(976,3028.78662100,-1500.49816900,746.65905800,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (30) CreateObject(976,3028.79858400,-1509.23083500,746.66449000,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (31) CreateObject(976,3028.84887700,-1517.80346700,746.66937300,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (32) CreateObject(976,3028.94897500,-1523.84387200,746.59881600,0.00000000,0.00000000,-89.99998128); //object(phils_compnd_gate) (33) CreateObject(976,3028.67065400,-1532.52343800,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (34) CreateObject(976,3019.86938500,-1532.52014200,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (35) CreateObject(976,3011.07348600,-1532.51232900,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (36) CreateObject(976,3002.26269500,-1532.52868700,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (37) CreateObject(976,2993.39160200,-1532.54772900,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (38) CreateObject(976,2984.43750000,-1532.55969200,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (39) CreateObject(976,2975.64965800,-1532.56445300,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (40) CreateObject(976,2966.91699200,-1532.56543000,746.66009500,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (41) CreateObject(976,2958.04345700,-1532.55896000,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (42) CreateObject(976,2949.21044900,-1532.51440400,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (43) CreateObject(976,2940.38208000,-1532.47876000,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (44) CreateObject(976,2931.74218800,-1532.43005400,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (45) CreateObject(976,2922.97314500,-1532.44397000,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (46) CreateObject(976,2914.15966800,-1532.38061500,746.68408200,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (47) CreateObject(976,2905.23584000,-1532.45910600,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (48) CreateObject(976,2896.39770500,-1532.47204600,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (49) CreateObject(976,2887.62817400,-1532.43981900,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (50) CreateObject(976,2878.74438500,-1532.40002400,746.65905800,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (51) CreateObject(976,2877.15551800,-1532.36364700,746.68389900,0.00000000,0.00000000,-180.00001985); //object(phils_compnd_gate) (52) CreateObject(976,2868.51049800,-1532.30395500,746.65905800,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (53) CreateObject(976,2868.48608400,-1523.42810100,746.65905800,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (54) CreateObject(976,2868.51245100,-1514.49597200,746.65905800,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (55) CreateObject(976,2868.53125000,-1505.57482900,746.65905800,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (56) CreateObject(976,2868.51855500,-1496.70092800,746.65905800,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (57) CreateObject(976,2868.55493200,-1487.97900400,746.71020500,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (58) CreateObject(976,2868.59130900,-1479.36840800,746.71783400,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (59) CreateObject(976,2868.62768600,-1470.63867200,746.73779300,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (60) CreateObject(976,2868.48168900,-1461.89367700,746.65905800,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (61) CreateObject(976,2868.48291000,-1453.04150400,746.65905800,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (62) CreateObject(976,2868.50146500,-1444.18566900,746.65905800,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (63) CreateObject(976,2868.50366200,-1435.34570300,746.65905800,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (64) CreateObject(976,2868.49121100,-1426.52819800,746.65905800,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (65) CreateObject(976,2868.63818400,-1421.30529800,746.65905800,0.00000000,0.00000000,-270.00000112); //object(phils_compnd_gate) (66) CreateObject(967,2894.62988300,-1516.24560500,746.49713100,0.00000000,0.00000000,-0.00005730); //object(bar_gatebox01) (1) CreateObject(3866,2928.86914062,-1500.98339844,754.33520508,0.00000000,0.00000000,179.99450684); //object(demolish1_sfxrf) (1) CreateObject(11492,2883.66699200,-1523.24902300,746.49279800,0.00000000,0.00000000,-180.00001985); //object(des_rshed1_) (1) CreateObject(12929,3022.45190400,-1428.55761700,746.99511700,0.00000000,0.00000000,-89.99998128); //object(sw_shed06) (1) CreateObject(12942,2905.85986300,-1427.44812000,746.70929000,0.00000000,0.00000000,0.00000000); //object(sw_shedinterior01) (1) CreateObject(5153,2934.79882800,-1491.38134800,753.52380400,0.00000000,0.00000000,0.00000000); //object(stuntramp7_las2) (1) CreateObject(5153,2930.78979500,-1491.38659700,751.77233900,0.00000000,0.00000000,0.00000000); //object(stuntramp7_las2) (2) CreateObject(5153,2926.76464800,-1491.37500000,750.00830100,0.00000000,0.00000000,0.00000000); //object(stuntramp7_las2) (3) CreateObject(5153,2922.74804700,-1491.35241700,748.23394800,0.00000000,0.00000000,0.00000000); //object(stuntramp7_las2) (4) CreateObject(5153,2919.44506800,-1491.35803200,746.78723100,0.00000000,0.00000000,0.00000000); //object(stuntramp7_las2) (5) CreateObject(5153,2899.24414100,-1427.17187500,752.43902600,0.00000000,0.00000000,-180.00001985); //object(stuntramp7_las2) (6) CreateObject(12929,2905.80932600,-1427.53894000,746.71508800,0.00000000,0.00000000,-180.00001985); //object(sw_shed06) (2) CreateObject(12928,3022.45043900,-1428.56872600,746.99511700,0.00000000,0.00000000,-89.99998128); //object(sw_shedinterior04) (1) CreateObject(1696,2936.86230500,-1465.37524400,747.12933300,0.00000000,0.00000000,89.99998128); //object(roofstuff15) (1) CreateObject(14395,2874.28759800,-1437.01257300,747.01001000,0.00000000,0.00000000,0.00000000); //object(dr_gsnew11) (1) CreateObject(14407,2881.44775400,-1435.64856000,750.44006300,0.00000000,0.00000000,89.99998128); //object(carter-stairs01) (1) CreateObject(14467,2889.20581100,-1463.29577600,750.64404300,0.00000000,0.00000000,67.49998596); //object(carter_statue) (1) CreateObject(9191,2891.18017600,-1486.42810100,751.23272700,0.00000000,0.00000000,0.00000000); //object(vgeastbillbrd03) (1) CreateObject(9191,2891.17773400,-1486.44616700,751.23077400,0.00000000,0.00000000,-180.00001985); //object(vgeastbillbrd03) (2) CreateObject(980,2919.17602500,-1412.63879400,752.62866200,0.00000000,0.00000000,0.00000000); //object(airportgate) (1) CreateObject(980,2907.59912100,-1412.62255900,752.62835700,0.00000000,0.00000000,0.00000000); //object(airportgate) (2) CreateObject(980,2896.14160156,-1412.60156250,752.62335205,0.00000000,0.00000000,0.00000000); //object(airportgate) (3) CreateObject(980,2884.75781300,-1412.69873000,752.59149200,0.00000000,0.00000000,0.00000000); //object(airportgate) (4) CreateObject(980,2874.32959000,-1412.68737800,752.62335200,0.00000000,0.00000000,0.00000000); //object(airportgate) (5) CreateObject(980,2930.68335000,-1412.63891600,752.62335200,0.00000000,0.00000000,0.00000000); //object(airportgate) (6) CreateObject(980,2942.18798800,-1412.64929200,752.62335200,0.00000000,0.00000000,0.00000000); //object(airportgate) (7) CreateObject(980,2953.81030300,-1412.66760300,752.62335200,0.00000000,0.00000000,0.00000000); //object(airportgate) (8) CreateObject(980,2965.37744100,-1412.64965800,752.62335200,0.00000000,0.00000000,0.00000000); //object(airportgate) (9) CreateObject(980,2976.92163100,-1412.59863300,752.62335200,0.00000000,0.00000000,0.00000000); //object(airportgate) (10) CreateObject(980,2988.42407200,-1412.62793000,752.62335200,0.00000000,0.00000000,0.00000000); //object(airportgate) (11) CreateObject(980,2999.91845700,-1412.67431600,752.61169400,0.00000000,0.00000000,0.00000000); //object(airportgate) (12) CreateObject(980,3011.44970700,-1412.64318800,752.60522500,0.00000000,0.00000000,0.00000000); //object(airportgate) (13) CreateObject(980,3022.98120100,-1412.68823200,752.62335200,0.00000000,0.00000000,0.00000000); //object(airportgate) (14) CreateObject(980,2868.52758800,-1418.26855500,752.58544900,0.00000000,0.00000000,-89.99998128); //object(airportgate) (15) CreateObject(980,2868.46142600,-1429.66943400,752.54827900,0.00000000,0.00000000,-89.99998128); //object(airportgate) (16) CreateObject(980,2868.45678700,-1441.15173300,752.54827900,0.00000000,0.00000000,-89.99998128); //object(airportgate) (17) CreateObject(980,2868.44458000,-1452.55334500,752.63470500,0.00000000,0.00000000,-89.99998128); //object(airportgate) (18) CreateObject(980,2868.58471700,-1464.15429700,752.70208700,0.00000000,0.00000000,-89.99998128); //object(airportgate) (19) CreateObject(980,2868.53149400,-1475.64819300,752.68212900,0.00000000,0.00000000,-89.99998128); //object(airportgate) (20) CreateObject(980,2868.56372100,-1487.20214800,752.67450000,0.00000000,0.00000000,-89.99998128); //object(airportgate) (21) CreateObject(980,2868.54663100,-1498.60644500,752.62335200,0.00000000,0.00000000,-89.99998128); //object(airportgate) (22) CreateObject(980,2868.46972700,-1510.02124000,752.62335200,0.00000000,0.00000000,-89.99998128); //object(airportgate) (23) CreateObject(980,2868.44775400,-1521.51709000,752.60711700,0.00000000,0.00000000,-89.99998128); //object(airportgate) (24) CreateObject(980,2868.44335900,-1526.64160200,752.67413300,0.00000000,0.00000000,-89.99998128); //object(airportgate) (25) CreateObject(980,2874.17211900,-1532.38781700,752.62335200,0.00000000,0.00000000,-180.00001985); //object(airportgate) (26) CreateObject(980,2885.59863300,-1532.46484400,752.62335200,0.00000000,0.00000000,-180.00001985); //object(airportgate) (27) CreateObject(980,2897.27758800,-1532.42272900,752.59802200,0.00000000,0.00000000,-180.00001985); //object(airportgate) (28) CreateObject(980,2908.76538100,-1532.44433600,752.61517300,0.00000000,0.00000000,-180.00001985); //object(airportgate) (29) CreateObject(980,2920.31469700,-1532.48217800,752.62335200,0.00000000,0.00000000,-180.00001985); //object(airportgate) (30) CreateObject(980,2931.80029300,-1532.43823200,752.62335200,0.00000000,0.00000000,-180.00001985); //object(airportgate) (31) CreateObject(980,2943.25317400,-1532.47802700,752.60272200,0.00000000,0.00000000,-180.00001985); //object(airportgate) (32) CreateObject(980,2954.71728500,-1532.52258300,752.59259000,0.00000000,0.00000000,-180.00001985); //object(airportgate) (33) CreateObject(980,2966.23193400,-1532.52905300,752.60034200,0.00000000,0.00000000,-180.00001985); //object(airportgate) (34) CreateObject(980,2977.69555700,-1532.52331500,752.59692400,0.00000000,0.00000000,-180.00001985); //object(airportgate) (35) CreateObject(980,2989.15649400,-1532.51135300,752.62158200,0.00000000,0.00000000,-180.00001985); //object(airportgate) (36) CreateObject(980,3000.62500000,-1532.51733400,752.62072800,0.00000000,0.00000000,-180.00001985); //object(airportgate) (37) CreateObject(980,3012.12963900,-1532.50927700,752.62335200,0.00000000,0.00000000,-180.00001985); //object(airportgate) (38) CreateObject(980,3023.15991200,-1532.46203600,752.64770500,0.00000000,0.00000000,-180.00001985); //object(airportgate) (39) CreateObject(980,3028.97314500,-1526.72827100,752.56311000,0.00000000,0.00000000,-270.00000112); //object(airportgate) (40) CreateObject(980,3028.76586900,-1515.12768600,752.62878400,0.00000000,0.00000000,-270.00000112); //object(airportgate) (41) CreateObject(980,3028.75024400,-1503.65234400,752.63378900,0.00000000,0.00000000,-270.00000112); //object(airportgate) (42) CreateObject(980,3028.74829100,-1492.09216300,752.62262000,0.00000000,0.00000000,-270.00000112); //object(airportgate) (43) CreateObject(980,3028.80224600,-1480.63147000,752.62335200,0.00000000,0.00000000,-270.00000112); //object(airportgate) (44) CreateObject(980,3028.77929700,-1469.16320800,752.61114500,0.00000000,0.00000000,-270.00000112); //object(airportgate) (45) CreateObject(980,3028.83105500,-1457.72375500,752.60540800,0.00000000,0.00000000,-270.00000112); //object(airportgate) (46) CreateObject(980,3028.82934600,-1446.21398900,752.64892600,0.00000000,0.00000000,-270.00000112); //object(airportgate) (47) CreateObject(980,3028.82031300,-1434.68542500,752.64837600,0.00000000,0.00000000,-270.00000112); //object(airportgate) (48) CreateObject(980,3028.82202100,-1418.49719200,752.62335200,0.00000000,0.00000000,-270.00000112); //object(airportgate) (49) CreateObject(980,3028.82666000,-1425.75036600,752.62335200,0.00000000,0.00000000,-270.00000112); //object(airportgate) (50) CreateObject(11444,3013.14331100,-1449.91552700,746.49011200,0.00000000,0.00000000,0.00000000); //object(des_pueblo2) (4) CreateObject(11444,3011.19604500,-1440.32519500,746.49011200,0.00000000,0.00000000,-89.99998128); //object(des_pueblo2) (5) CreateObject(3644,2978.77710000,-1517.32519500,749.15997300,0.00000000,0.00000000,179.99996255); //object(idlebuild01_lax) (1) CreateObject(3330,-1357.07458496,331.62677002,93.99955750,0.00000000,0.00000000,0.00000000); //object(cxrf_brigleg) (1) CreateObject(3330,-1381.65478516,332.08538818,93.99955750,0.00000000,0.00000000,0.00000000); //object(cxrf_brigleg) (2) CreateObject(3330,-1406.93908691,332.11392212,93.99955750,0.00000000,0.00000000,0.00000000); //object(cxrf_brigleg) (3) CreateObject(3330,-1431.04650879,332.27395630,93.99955750,0.00000000,0.00000000,0.00000000); //object(cxrf_brigleg) (4) CreateObject(3330,-1455.90026855,332.50909424,93.99955750,0.00000000,0.00000000,0.00000000); //object(cxrf_brigleg) (5) CreateObject(3330,-1468.34912109,347.75726318,93.99955750,0.00000000,0.00000000,268.00000000); //object(cxrf_brigleg) (6) CreateObject(3330,-1476.60485840,364.30587769,93.99955750,0.00000000,0.00000000,323.99499512); //object(cxrf_brigleg) (7) CreateObject(3330,-1484.96801758,384.14129639,93.99955750,0.00000000,0.00000000,271.99230957); //object(cxrf_brigleg) (8) CreateObject(3330,-1485.68603516,405.53564453,93.99955750,0.00000000,0.00000000,271.98852539); //object(cxrf_brigleg) (9) CreateObject(3330,-1486.48803711,428.91363525,93.99955750,0.00000000,0.00000000,271.98852539); //object(cxrf_brigleg) (10) CreateObject(3330,-1486.48730469,428.91308594,93.99955750,0.00000000,0.00000000,271.98852539); //object(cxrf_brigleg) (11) CreateObject(3330,-1486.48730469,428.91308594,93.99955750,0.00000000,0.00000000,271.98852539); //object(cxrf_brigleg) (12) CreateObject(3330,-1471.09912109,441.97491455,93.99955750,0.00000000,0.00000000,179.98852539); //object(cxrf_brigleg) (13) CreateObject(3330,-1447.47656250,442.32550049,93.99955750,0.00000000,0.00000000,179.98352051); //object(cxrf_brigleg) (14) CreateObject(3330,-1423.14367676,442.37600708,93.99955750,0.00000000,0.00000000,179.98352051); //object(cxrf_brigleg) (15) CreateObject(3330,-1399.04760742,442.19265747,93.99955750,0.00000000,0.00000000,179.98352051); //object(cxrf_brigleg) (16) CreateObject(3330,-1375.32250977,442.28573608,93.99955750,0.00000000,0.00000000,179.98352051); //object(cxrf_brigleg) (17) CreateObject(3330,-1356.93981934,442.25122070,93.99955750,0.00000000,0.00000000,179.98352051); //object(cxrf_brigleg) (18) CreateObject(3330,-1343.53613281,425.97753906,93.99955750,0.00000000,0.00000000,91.98303223); //object(cxrf_brigleg) (19) CreateObject(3330,-1342.65979004,400.99148560,93.99955750,0.00000000,0.00000000,91.98303223); //object(cxrf_brigleg) (20) CreateObject(3330,-1341.67517090,376.56402588,93.99955750,0.00000000,0.00000000,91.98303223); //object(cxrf_brigleg) (21) CreateObject(3330,-1340.79675293,351.07638550,93.99955750,0.00000000,0.00000000,91.98303223); //object(cxrf_brigleg) (22) CreateObject(3330,-1340.89038086,344.62774658,93.99955750,0.00000000,0.00000000,91.98303223); //object(cxrf_brigleg) (23) CreateObject(3279,-1359.85217285,426.23495483,29.08593750,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (1) CreateObject(3279,-1360.35729980,349.88793945,29.08593750,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (2) CreateObject(3279,-1401.72167969,383.26367188,29.08593750,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (3) CreateObject(3279,-1452.58239746,351.60949707,29.08593750,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (4) CreateObject(3279,-1465.30200195,425.00546265,29.08593750,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (5) CreateObject(3277,-1388.82141113,344.10913086,29.08202744,0.00000000,0.00000000,0.00000000); //object(mil_sambase) (1) CreateObject(8880,-1381.93457031,343.87084961,34.16065979,0.00000000,0.00000000,0.00000000); //object(vgsecnstrct09) (1) CreateObject(944,-1355.75964355,408.87496948,29.97072411,0.00000000,0.00000000,0.00000000); //object(packing_carates04) (1) CreateObject(944,-1355.46972656,407.09454346,29.97072411,0.00000000,0.00000000,0.00000000); //object(packing_carates04) (2) CreateObject(2991,-1363.54577637,410.96374512,29.71367264,0.00000000,0.00000000,0.00000000); //object(imy_bbox) (1) CreateObject(2934,-1380.33801270,420.50509644,33.44319153,0.00000000,0.00000000,0.00000000); //object(kmb_container_red) (1) CreateObject(2934,-1380.45019531,420.44531250,30.53785706,0.00000000,0.00000000,0.00000000); //object(kmb_container_red) (2) CreateObject(2932,-1468.81787109,381.28912354,30.53785706,0.00000000,0.00000000,0.00000000); //object(kmb_container_blue) (1) CreateObject(2932,-1394.04101562,415.28222656,30.53785706,0.00000000,0.00000000,0.00000000); //object(kmb_container_blue) (2) CreateObject(3573,-1357.41796875,387.33007812,31.77762985,0.00000000,0.00000000,271.99951172); //object(lasdkrtgrp1) (1) CreateObject(3573,-1476.72558594,402.36816406,31.77762985,0.00000000,0.00000000,271.99951172); //object(lasdkrtgrp1) (2) CreateObject(3576,-1359.51403809,382.98788452,35.97325897,0.00000000,0.00000000,0.00000000); //object(dockcrates2_la) (1) CreateObject(3630,-1382.36035156,393.50878906,30.57855988,0.00000000,0.00000000,0.00000000); //object(crdboxes2_las) (1) CreateObject(5259,-1433.02148438,421.96292114,29.08593750,0.00000000,0.00000000,0.00000000); //object(las2dkwar01) (1) CreateObject(5259,-1432.80859375,421.98046875,35.32053375,0.00000000,0.00000000,0.00000000); //object(las2dkwar01) (2) CreateObject(5261,-1352.89404297,368.68930054,31.31956482,0.00000000,0.00000000,274.00000000); //object(las2dkwar03) (1) CreateObject(5262,-1415.26611328,416.54177856,32.04359818,0.00000000,0.00000000,0.00000000); //object(las2dkwar04) (1) CreateObject(5262,-1400.77795410,433.71765137,32.03968811,0.00000000,0.00000000,0.00000000); //object(las2dkwar04) (2) CreateObject(5259,-1422.03698730,371.16033936,29.08593750,0.00000000,0.00000000,0.00000000); //object(las2dkwar01) (2) CreateObject(3279,-1441.65722656,401.68530273,29.08593750,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (3) CreateObject(3279,-1397.63671875,344.75585938,29.08202744,0.00000000,0.00000000,0.00000000); //object(a51_spottower) (3) CreateObject(3573,-1377.34436035,356.24105835,31.77762985,0.00000000,0.00000000,271.99951172); //object(lasdkrtgrp1) (1) CreateObject(5259,-1418.57885742,352.43142700,29.08202744,0.00000000,0.00000000,0.00000000); //object(las2dkwar01) (2) CreateObject(5992,-1419.19189453,350.94131470,40.95684052,0.00000000,0.00000000,0.00000000); //object(ltsreg01_lawn) (1) CreateObject(9123,-1435.79785156,387.26861572,35.23566055,0.00000000,0.00000000,0.00000000); //object(ballyneon01) (1) CreateObject(1337,-1453.53027344,379.82031250,29.58593750,0.00000000,0.00000000,0.00000000); //object(binnt07_la) (1) CreateObject(8154,1070.33374023,1260.85839844,10.39943695,0.00000000,0.00000000,180.00000000); return 1; } /*===============================================================================================================*/ forward NitroReset(); public NitroReset() { for(new i = 0; i<MAX_PLAYERS; i++) { if(!IsPlayerInInvalidNosVehicle(i,GetPlayerVehicleID(i))) { new vehicle = GetPlayerVehicleID(i); AddVehicleComponent(vehicle, 1010); } } } /*===============================================================================================================*/ IsPlayerInInvalidNosVehicle(playerid,vehicleid) { #define MAX_INVALID_NOS_VEHICLES 29 new InvalidNosVehicles[MAX_INVALID_NOS_VEHICLES] = { 581,523,462,521,463,522,461,448,468,586, 509,481,510,472,473,493,595,484,430,453, 452,446,454,590,569,537,538,570,449 }; vehicleid = GetPlayerVehicleID(playerid); if(IsPlayerInVehicle(playerid,vehicleid)) { for(new i = 0; i < MAX_INVALID_NOS_VEHICLES; i++) { if(GetVehicleModel(vehicleid) == InvalidNosVehicles[i]) { return true; } } } return false; } /*===============================================================================================================*/ CMD:comandos(playerid,params[]) { SendClientMessage(playerid ,Cinza,"==================================================================== "); SendClientMessage(playerid ,Rosa, " Lista de Comandos: "); SendClientMessage(playerid ,vermelho," /Paraquedas, /Skin, /Regras, /NickNovo, /Mudar, /Creditos "); SendClientMessage(playerid ,vermelho," /Kit1, /Kit2, /Armas, /Teles, /Ajuda, /Telesa "); SendClientMessage(playerid ,Cinza ,"=================================================================== "); return 1; } CMD:telesa(playerid, params[]) { SendClientMessage(playerid,Cinza,"|==========================================================================================|"); SendClientMessage(playerid,vermelho," Lista de Teleportes Para Arenas DM "); SendClientMessage(playerid,vermelho," /X1, /ArenaW, /Granada, /Extintor, /Eagle, /Mp5, /Serra, /Shot, /Arena, /Bz, /Mg, /Cs"); SendClientMessage(playerid,Cinza,"|==========================================================================================|"); return 1; } /*===============================================================================================================*/ CMD:teles(playerid, params[]) { SendClientMessage(playerid,Cinza,"|=================================================================================|"); SendClientMessage(playerid,vermelho," Lista de Teleportes: "); SendClientMessage(playerid,vermelho," /Eq, /Ap, /Tv, /Facu, /Aeroab, /Fc, /Fz, /Deserto, /Bs, /Chilliad, /vb, /pc, /bb "); SendClientMessage(playerid,Cinza,"|=================================================================================|"); return 1; } /*===============================================================================================================*/ CMD:paraquedas(playerid,params[]) { GivePlayerWeapon(playerid, 46, 1); SendClientMessage(playerid,Branco, "[INFO] Vocк Recebeu um Paraquedas"); return 1; } /*===============================================================================================================*/ CMD:Armas(playerid,params[]) { GivePlayerWeapon(playerid, 46, 1); SendClientMessage(playerid,Branco, "||ARMAS|| Para Pegar armas Gratis Use /Kit1, /Kit2!"); return 1; } /*===============================================================================================================*/ CMD:skin(playerid,params[]) { new skinid; if( sscanf(params, "d", skinid )) return SendClientMessage(playerid , vermelho , "Use: /skin [id]"); if( 0 < (skinid) > 299 ) return SendClientMessage(playerid , vermelho , "Use: de 0 a 299"); SetPlayerSkin(playerid, skinid); return 1; } /*===============================================================================================================*/ CMD:regras(playerid,params[]) { SendClientMessage(playerid,vermelho,"||INFO|| Regras Em Desenvolvimento!"); return 1; } /*===============================================================================================================*/ CMD:kit2(playerid,params[]) { SendClientMessage(playerid,vermelho,"||INFO|| Armas Adquiridos!"); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,1,9999); GivePlayerWeapon(playerid,4,9999); GivePlayerWeapon(playerid,9,9999); GivePlayerWeapon(playerid,16,9999); GivePlayerWeapon(playerid,23,9999); GivePlayerWeapon(playerid,26,9999); GivePlayerWeapon(playerid,31,9999); GivePlayerWeapon(playerid,32,9999); GivePlayerWeapon(playerid,34,9999); return 1; } /*===============================================================================================================*/ CMD:kit1(playerid,params[]) { SendClientMessage(playerid,vermelho,"||INFO|| Armas Adquiridos!!"); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,8,9999); GivePlayerWeapon(playerid,41,9999); GivePlayerWeapon(playerid,24,9999); GivePlayerWeapon(playerid,27,9999); GivePlayerWeapon(playerid,30,9999); GivePlayerWeapon(playerid,29,9999); GivePlayerWeapon(playerid,33,9999); GivePlayerWeapon(playerid,42,9999); GivePlayerWeapon(playerid,1,9999); return 1; } /*===============================================================================================================*/ CMD:creditos(playerid,params[]) { SendClientMessage(playerid,vermelho,"|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|"); SendClientMessage(playerid,Cinza ,"|GameMode Feito Por| Diogo |"); SendClientMessage(playerid,vermelho,"|~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|"); return 1; } /*===============================================================================================================*/ CMD:nicknovo(playerid,params[]) { if( sscanf(params, "s[158]", params )) { SendClientMessage(playerid ,vermelho,"Use: /nicknovo [NovoNick]"); } else { SetPlayerName(playerid,params); SendClientMessage(playerid,vermelho,"||INFO|| Nick mudado com sucesso!"); } return 1; } /*===============================================================================================================*/ CMD:mudar(playerid,params[]) { GetPlayerName( playerid, PlayerName, sizeof PlayerName); format(str, sizeof str,"||INFO|| %s Foi Para seleзгo de classe!",PlayerName); SendClientMessageToAll(Cinza,str); SetPlayerHealth(playerid, 0); ForceClassSelection(playerid); return 1; } /*================================================================================================================*/ CMD:ajuda(playerid,params[]) { SendClientMessage(playerid ,Cinza, "|===================================================| "); SendClientMessage(playerid ,vermelho, " Lista de Ajuda: "); SendClientMessage(playerid ,vermelho, "/Comandos, /Teles, /Creditos, /Regras. "); SendClientMessage(playerid ,Cinza , "|===================================================| "); return 1; } /*================================================================================================================*/ CMD:kill(playerid,params[]) { format(str , sizeof(str), "||INFO|| %s se matou ( /Kill )", PlayerName ); SendClientMessageToAll( Branco ,str); SetPlayerVirtualWorld(playerid , 0 ); GameTextForPlayer(playerid , " ~r~MORTO ", 3000 ,0 ); SetPlayerHealth(playerid , 0.0 ); return 1; } /*=============================================[Teles]===========================================================*/ CMD:fc(playerid, params[]) { new NameP[MAX_PLAYER_NAME]; if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-365.9637,1128.7065,19.7501); else SetPlayerPos(playerid,-365.9637,1128.7065,19.7501); SetVehicleZAngle(GetPlayerVehicleID(playerid), 90.0); GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Fort Carson | Comando: {F60000} /FC", NameP); SendClientMessageToAll(Rosa, str); return 1; } /*===============================================================================================================*/ CMD:aeroab(playerid, params[]) { new NameP[MAX_PLAYER_NAME]; if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),377.5288,2539.4663,17.5391); else SetPlayerPos(playerid, 377.5288,2539.4663,17.5391); SetVehicleZAngle(GetPlayerVehicleID(playerid), 186.0); GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Aeroab | Comando: {F60000} /AEROAB", NameP); SendClientMessageToAll(Rosa, str); return 1; } /*===============================================================================================================*/ CMD:fz(playerid, params[]) { new NameP[MAX_PLAYER_NAME]; if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-381.1443,-1417.0886,25.7266); else SetPlayerPos(playerid, -381.1443,-1417.0886,25.7266); SetVehicleZAngle(GetPlayerVehicleID(playerid), 267.0); GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Fazenda | Comando: {F60000} /FZ", NameP); SendClientMessageToAll(Rosa, str); return 1; } /*===============================================================================================================*/ CMD:deserto(playerid, params[]) { new NameP[MAX_PLAYER_NAME]; if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-790.7422,2419.2813,158.0466); else SetPlayerPos(playerid, -790.7422,2419.2813,158.0466); SetVehicleZAngle(GetPlayerVehicleID(playerid), 157.0); GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Deserto | Comando: {F60000} /DESERTO", NameP); SendClientMessageToAll(Rosa, str); return 1; } /*===============================================================================================================*/ CMD:eq(playerid, params[]) { new NameP[MAX_PLAYER_NAME]; if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-1515.1958,2538.4568,56.6875); else SetPlayerPos(playerid, -1515.1958,2538.4568,56.6875); SetVehicleZAngle(GetPlayerVehicleID(playerid), 03.0); GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Elquebrados | Comando: {F60000} /EQ", NameP); SendClientMessageToAll(Rosa, str); return 1; } /*===============================================================================================================*/ CMD:bs(playerid, params[]) { new NameP[MAX_PLAYER_NAME]; if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-2541.7947,2437.5371,20.9245); else SetPlayerPos(playerid, -2541.7947,2437.5371,20.9245); SetVehicleZAngle(GetPlayerVehicleID(playerid), 278.0); GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Bay Side | Comando: {F60000} /BS", NameP); SendClientMessageToAll(Rosa, str); return 1; } /*===============================================================================================================*/ CMD:ap(playerid, params[]) { new NameP[MAX_PLAYER_NAME]; if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-2215.7559,-2372.1528,32.7024); else SetPlayerPos(playerid, -2215.7559,-2372.1528,32.7024); SetVehicleZAngle(GetPlayerVehicleID(playerid), 238.0); GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Angel Pine | Comando: {F60000} /AP", NameP); SendClientMessageToAll(Rosa, str); return 1; } /*===============================================================================================================*/ CMD:chilliad(playerid, params[]) { new NameP[MAX_PLAYER_NAME]; if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid), -2321.2458,-1626.3516,485.7056); else SetPlayerPos(playerid, -2321.2458,-1626.3516,485.7056); SetVehicleZAngle(GetPlayerVehicleID(playerid), 201.0); GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Chilliad | Comando: {F60000} /CHILLIAD", NameP); SendClientMessageToAll(Rosa, str); return 1; } /*===============================================================================================================*/ CMD:facu(playerid, params[]) { new NameP[MAX_PLAYER_NAME]; if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-1981.3003,-858.6299,33.0234); else SetPlayerPos(playerid, -1981.3003,-858.6299,33.0234); SetVehicleZAngle(GetPlayerVehicleID(playerid), 93.0); GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Facudade | Comando: {F60000} /FACU", NameP); SendClientMessageToAll(Rosa, str); return 1; } /*===============================================================================================================*/ CMD:pc(playerid, params[]) { new NameP[MAX_PLAYER_NAME]; if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),2403.4573,89.5366,27.4766); else SetPlayerPos(playerid, 2403.4573,89.5366,27.4766); SetVehicleZAngle(GetPlayerVehicleID(playerid), 87.0); GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Palomino Creeck | Comando: {F60000} /PC", NameP); SendClientMessageToAll(Rosa, str); return 1; } /*===============================================================================================================*/ CMD:bb(playerid, params[]) { new NameP[MAX_PLAYER_NAME]; if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),148.3050,-126.6825,2.5696); else SetPlayerPos(playerid, 148.3050,-126.6825,2.5696); SetVehicleZAngle(GetPlayerVehicleID(playerid), 131.0); GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Blue Berry | Comando: {F60000} /BB", NameP); SendClientMessageToAll(Rosa, str); return 1; } /*===============================================================================================================*/ CMD:tv(playerid, params[]) { new NameP[MAX_PLAYER_NAME]; if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),-2400.3777,-590.1343,133.6484); else SetPlayerPos(playerid, -2400.3777,-590.1343,133.6484); SetVehicleZAngle(GetPlayerVehicleID(playerid), 130.0); GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Torre TV | Comando: {F60000} /TV", NameP); SendClientMessageToAll(Rosa, str); return 1; } /*===============================================================================================================*/ CMD:vb(playerid, params[]) { new NameP[MAX_PLAYER_NAME]; if(IsPlayerInAnyVehicle(playerid)) SetVehiclePos(GetPlayerVehicleID(playerid),1246.3544,-2013.5144,59.0289); else SetPlayerPos(playerid, 1246.3544,-2013.5144,59.0289); SetVehicleZAngle(GetPlayerVehicleID(playerid), 210.0); GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Verderant BluuFs | Comando: {F60000} /VB", NameP); SendClientMessageToAll(Rosa, str); return 1; } /*========================================================[Teles DM]=============================================*/ CMD:arena(playerid,params[]) { if(GetPlayerInterior(playerid) >= 1)return SendClientMessage(playerid ,-1,"[ERRO] Voce naopode se teleportar de dentro de interiores"); ResetPlayerWeapons(playerid ); SetPlayerPos(playerid ,1067.2329,1229.0709,10.8275); SetPlayerHealth(playerid, 100); SetPlayerArmour(playerid, 100); GivePlayerWeapon(playerid ,WEAPON_SAWEDOFF ,9999); GivePlayerWeapon(playerid ,WEAPON_M4 ,9999); GivePlayerWeapon(playerid ,WEAPON_SNIPER ,9999); GivePlayerWeapon(playerid ,WEAPON_MP5 ,9999); GivePlayerWeapon(playerid ,WEAPON_TEC9 ,9999); GivePlayerWeapon(playerid ,WEAPON_KNIFE ,9999); SetPlayerVirtualWorld(playerid ,4 ); format(str , sizeof(str ), "[TELE]*** {F60000}%s {00C2EC} Foi Arena Walking | Comando: {F60000} /ARENAW",PlayerName); SendClientMessageToAll( Cinza,str ); SendClientMessage(playerid ,vermelho,"|•================================================•|"); SendClientMessage(playerid ,vermelho,"Bem vindo a arena Mate quantospuder!!"); SendClientMessage(playerid ,vermelho,"Para sair deste local de DM use /kill!!"); SendClientMessage(playerid ,vermelho,"|•================================================•|"); return 1; } /*===============================================================================================================*/ CMD:shot(playerid, params[]) { new randCoZm = random(9); new NameP[MAX_PLAYERS]; SetPlayerPos(playerid,arenas[randCoZm][0],arenas[randCoZm][1],arenas[randCoZm][2]); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,100); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,27,9999); SetPlayerVirtualWorld(playerid,5); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Arena ShotGuN | Comando: {F60000} /Shot", NameP); SendClientMessageToAll(-1, str); return 1; } /*===============================================================================================================*/ CMD:arenaw(playerid, params[]) { new randCoZm = random(9); new NameP[MAX_PLAYERS]; SetPlayerPos(playerid,arenas[randCoZm][0],arenas[randCoZm][1],arenas[randCoZm][2]); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,100); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,24,9999); GivePlayerWeapon(playerid,27,9999); GivePlayerWeapon(playerid,34,9999); GivePlayerWeapon(playerid,29,9999); GivePlayerWeapon(playerid,31,9999); SetPlayerVirtualWorld(playerid,10); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Arena Walking | Comando: {F60000} /ARENAW", NameP); SendClientMessageToAll(-1, str); return 1; } /*===============================================================================================================*/ CMD:serra(playerid, params[]) { new randCoZm = random(9); new NameP[MAX_PLAYERS]; SetPlayerPos(playerid,arenas[randCoZm][0],arenas[randCoZm][1],arenas[randCoZm][2]); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,100); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,9,9999); SetPlayerVirtualWorld(playerid,5); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Arena MotoSerra | Comando: {F60000} /Serra", NameP); SendClientMessageToAll(-1, str); return 1; } /*===============================================================================================================*/ CMD:mp5(playerid, params[]) { new randCoZm = random(9); new NameP[MAX_PLAYERS]; SetPlayerPos(playerid,arenas[randCoZm][0],arenas[randCoZm][1],arenas[randCoZm][2]); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,100); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,29,9999); SetPlayerVirtualWorld(playerid,3); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Arena Mp5 | Comando: {F60000} /Mp5", NameP); SendClientMessageToAll(-1, str); return 1; } /*===============================================================================================================*/ CMD:granada(playerid, params[]) { new randCoZm = random(9); new NameP[MAX_PLAYERS]; SetPlayerPos(playerid,arenas[randCoZm][0],arenas[randCoZm][1],arenas[randCoZm][2]); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,100); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,16,9999); SetPlayerVirtualWorld(playerid,9); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Arena de Granada | Comando: {F60000} /granada", NameP); SendClientMessageToAll(-1, str); return 1; } /*===============================================================================================================*/ CMD:mg(playerid, params[]) { if(GetPlayerInterior(playerid) >= 1)return SendClientMessage(playerid,vermelho,"[ERRO] Voce nao pode se teleportar de dentro de interiores"); new randCoZm = random(10); SetPlayerPos(playerid,SpawnRandomArena1[randCoZm][0],SpawnRandomArena1[randCoZm][1],SpawnRandomArena1[randCoZm][2]); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,100); SetPlayerVirtualWorld(playerid,14); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,38,99999); new NameP[MAX_PLAYER_NAME]; GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Arena Minigun | Comando: {F60000} /MG", NameP); SendClientMessageToAll(-1, str); return 1; } /*===============================================================================================================*/ CMD:bz(playerid, params[]) { if(GetPlayerInterior(playerid) >= 1)return SendClientMessage(playerid,vermelho,"[ERRO] Voce nao pode se teleportar de dentro de interiores"); new randCoZm = random(10); SetPlayerPos(playerid,SpawnRandomArena1[randCoZm][0],SpawnRandomArena1[randCoZm][1],SpawnRandomArena1[randCoZm][2]); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,100); SetPlayerVirtualWorld(playerid,26); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,36,99999); new NameP[MAX_PLAYER_NAME]; GetPlayerName(playerid, NameP, MAX_PLAYER_NAME); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Arena Bazuka | Comando: {F60000} /BZ", NameP); SendClientMessageToAll(-1, str); return 1; } /*===============================================================================================================*/ CMD:eagle(playerid, params[]) { new randCoZm = random(9); new NameP[MAX_PLAYERS]; SetPlayerPos(playerid,arenas[randCoZm][0],arenas[randCoZm][1],arenas[randCoZm][2]); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,100); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,24,9999); SetPlayerVirtualWorld(playerid,8); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Arena de eagle | Comando: {F60000} /Eagle", NameP); SendClientMessageToAll(-1, str); return 1; } /*===============================================================================================================*/ CMD:Extintor(playerid, params[]) { new randCoZm = random(9); new NameP[MAX_PLAYERS]; SetPlayerPos(playerid,arenas[randCoZm][0],arenas[randCoZm][1],arenas[randCoZm][2]); SetPlayerHealth(playerid,100); SetPlayerArmour(playerid,100); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,42,9999); SetPlayerVirtualWorld(playerid,7); format(str, sizeof(str), "[TELE]*** {F60000}%s {00C2EC} Foi Para Arena de Extintor | Comando: {F60000} /Extintor", NameP); SendClientMessageToAll(-1, str); return 1; } /*===============================================================================================================*/ CMD:x1(playerid, params[]) { new randCoZm = random(9); SetPlayerPos(playerid,arenas[randCoZm][0],arenas[randCoZm][1],arenas[randCoZm][2]); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,26,9999); GivePlayerWeapon(playerid,30,9999); GivePlayerWeapon(playerid,21,9999); GivePlayerWeapon(playerid,24,9999); new NickName[MAX_PLAYER_NAME],STR[51]; SetPlayerVirtualWorld(playerid,6); GetPlayerName(playerid, NickName, MAX_PLAYER_NAME); format(STR, 51, "[X1]--> %s Foi Para a Arena /X1", NickName); SendClientMessageToAll(0x33CCFFAA, STR); return 1; } /*===============================================================================================================*/ CMD:cs(playerid, params[]) { new rand = random(2); SetPlayerPos(playerid , ArenaCsSpawn[rand][0], ArenaCsSpawn[rand][1], ArenaCsSpawn[rand][2]); ResetPlayerWeapons(playerid); GivePlayerWeapon(playerid,26,9999); GivePlayerWeapon(playerid,30,9999); GivePlayerWeapon(playerid,21,9999); GivePlayerWeapon(playerid,24,9999); new NickName[MAX_PLAYER_NAME],STR[120]; SetPlayerVirtualWorld(playerid,6); GetPlayerName(playerid, NickName, MAX_PLAYER_NAME); format(STR, 120, "[CS]--> %s Foi Para a Arena Counter Striker /CS", NickName); SendClientMessageToAll(0x33CCFFAA, STR); return 1; } /*===============================================================================================================*/ public OnPlayerCommandPerformed(playerid, cmdtext[], success) { if(!success) { new strx[64]; format(strx, 46, "||INFO|| Comando %s - Inexistente!",cmdtext); return SendClientMessage(playerid,Cinza, strx); } return true; } /*===============================================================================================================*/ public OnPlayerText(playerid, text[]) { new messagetext[128]; format( messagetext, 128, "{66FF00}(ID:%d): {66FF00}%s",playerid, text ); SendPlayerMessageToAll(playerid, messagetext ); return 0; } public OnPlayerDeath(playerid, killerid, reason) { SetPlayerInterior(playerid,0); SetPlayerVirtualWorld(playerid,0); SendDeathMessage( killerid,playerid, reason); SetPlayerScore( killerid, GetPlayerScore(killerid)+1); return 1; } public OnPlayerRequestClass(playerid, classid) { SetPlayerInterior(playerid, 6); SetPlayerPos(playerid, 265.874481, 77.716033, 1001.039062); SetPlayerFacingAngle(playerid, 88.192520); SetPlayerCameraLookAt(playerid, 265.874481, 77.716033, 1001.039062); SetPlayerCameraPos(playerid, 265.874481 + (5 * floatsin(-88.192520, degrees)), 77.716033 + (5 * floatcos(-88.192520, degrees)), 1001.039062); ApplyAnimation(playerid,"DANCING","DAN_LOOP_A",4.0,1,0,0,0,-1); return 1; } /*===============================================================================================================*/