Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <a_samp>
- //====================Cores==========================
- #define VERDE 0x33AA33AA
- #define AQUA 0x7CFC00AA
- #define BRUNO 0x999900AA
- #define AZUL 0x1823FFAA
- #define BRANCO 0xF8FDFFAA
- #define ROSA 0xF208FFAA
- #define PRETO 0x000000AA
- #define VERMELHO 0xF80000AA
- #define AMARELO 0xFFFF68AA
- #define AZULCLARO 0x00E8E8AA
- #define VERDECLARO 0x00E000AA
- #define LARANJA 0xFF8420AA
- #define LIGHTGREEN 0x38FF06FF
- #define DARKPINK 0xE100E1FF
- #define DARKGREEN 0x008040FF
- #define ANNOUNCEMENT 0x6AF7E1FF
- #define COLOR_SYSTEM 0xEFEFF7AA
- #define GREY 0xCECECEFF
- #define PINK 0xD52DFFFF
- #define DARKGREY 0x626262FF
- #define AQUAGREEN 0x03D687FF
- #define NICESKY 0x99FFFFAA
- #define WHITE 0xFFFFFFFF
- #define PLAYER_COLOR 0xFFFFFFFF
- #define VIOLETA 0x9955DEEE
- #define ROXO 0x9E3EFFAA
- #define AVISO 0xFF2F2FAA
- //=================================================
- //==================================================
- //#define GAMEMODE
- new Text:Sbv;
- new Text:tinfo;
- new Text:Name;
- new Text:TO;
- new Text:Site;
- new pname[MAX_PLAYER_NAME];
- new Minigun[01] = {38};
- new Arenadm[3] = {24,26,32};
- #if defined FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" Vitor Marfioso [DM Simples]");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- return 1;
- }
- #else
- main()
- {
- print("\n----------------------------------");
- print(" Vitor Marfioso [DM Simples]");
- print("----------------------------------\n");
- }
- #endif
- public OnGameModeInit()
- {
- UsePlayerPedAnims();
- SetGameModeText("Vitor Marfioso [DM Simples] ");
- //=======================Objetos============================================
- CreateObject(18450, -1428.3419189453, 477.67849731445, 19.80256652832, 0, 13.894989013672, 85.355010986328);
- CreateObject(18450, -1311.9758300781, 453.18023681641, -1.1090240478516, 0, 334.1904296875, 81.380798339844);
- CreateObject(3268, -1309.3732910156, 445.28945922852, 6.1875, 0, 0, 272.65997314453);
- CreateObject(18450, -1197.5808105469, 410.8932800293, 8.755690574646, 0, 4.4473876953125, 134.97076416016);
- CreateObject(18450, -1182.0334472656, 393.05157470703, 10.591641426086, 0, 4.4439697265625, 130.99703979492);
- CreateObject(3279, -1391.5861816406, 497.48583984375, 17.234375, 0, 0, 184.60504150391);
- CreateObject(1655, -1155.5112304688, 359.09783935547, 11.950117111206, 0, 0, 41.684997558594);
- CreateObject(1655, -1150.6968994141, 363.52450561523, 11.956071853638, 0, 0, 41.68212890625);
- CreateObject(3934, -1450.8491210938, 359.67147827148, 29.0859375, 0, 0, 0);
- CreateObject(3934, -1450.5480957031, 382.65872192383, 29.0859375, 0, 0, 0);
- CreateObject(3934, -1451.2889404297, 415.85092163086, 29.0859375, 0, 0, 0);
- CreateObject(3934, -1416.6138916016, 357.49276733398, 29.0859375, 0, 0, 0);
- CreateObject(3934, -1416.1586914063, 388.41448974609, 29.0859375, 0, 0, 0);
- CreateObject(3934, -1421.8540039063, 415.07638549805, 29.0859375, 0, 0, 0);
- CreateObject(3934, -1380.9775390625, 358.68463134766, 29.0859375, 0, 0, 0);
- CreateObject(3934, -1379.4080810547, 394.8591003418, 29.0859375, 0, 0, 0);
- CreateObject(3934, -1376.7775878906, 423.93609619141, 29.0859375, 0, 0, 0);
- CreateObject(6976, -1468.3569335938, 395.91418457031, 32.3359375, 0, 0, 182.62005615234);
- CreateObject(6976, -1506.3311767578, 375.27651977539, 44.3125, 0, 0, 267.9697265625);
- CreateObject(3934, -1503.0091552734, 397.72796630859, 41.3125, 0, 0, 0);
- CreateObject(3934, -1504.609375, 429.12115478516, 41.3125, 0, 0, 0);
- CreateObject(3934, -1495.4720458984, 308.36373901367, 52.4609375, 0, 0, 0);
- CreateObject(3934, -1495.9757080078, 338.08770751953, 52.458656311035, 0, 0, 0);
- CreateObject(3934, -1534.2924804688, 338.98196411133, 52.4609375, 0, 0, 0);
- CreateObject(3934, -1537.3074951172, 311.08715820313, 52.4609375, 0, 0, 0);
- CreateObject(3434, -1485.4753417969, 395.34088134766, 56.64998626709, 0, 0, 81.385009765625);
- CreateObject(1634, -1425.9741210938, 460.30068969727, 25.109031677246, 13.894989013672, 0, 176.6650390625);
- CreateObject(1634, -1429.8804931641, 460.67730712891, 24.932134628296, 13.892211914063, 0, 176.66015625);
- CreateObject(1634, -1434.1350097656, 460.17071533203, 25.886932373047, 13.892211914063, 0, 176.66015625);
- //===================================Fim dos objtos======================================================
- //======================================drop=================================
- CreateObject(8040,3765.612,-1877.323,1799.874,0.0,0.0,180.000);
- CreateObject(18450,3691.241,-1877.027,1778.758,0.0,-30.080,0.0);
- CreateObject(18450,3626.156,-1876.962,1741.048,0.0,-30.080,0.0);
- CreateObject(18450,3557.563,-1876.949,1701.284,0.0,-30.080,0.0);
- CreateObject(18450,3491.165,-1876.956,1657.315,0.0,-36.956,0.0);
- CreateObject(18450,3427.323,-1876.966,1609.275,0.0,-36.956,0.0);
- CreateObject(18450,3357.464,-1876.958,1574.192,0.0,-16.329,0.0);
- CreateObject(18450,3395.242,-1876.944,1588.339,0.0,-27.502,0.0);
- CreateObject(18450,3283.363,-1876.941,1545.641,0.0,-25.783,0.0);
- CreateObject(18450,3212.075,-1876.954,1511.194,0.0,-25.783,0.0);
- CreateObject(18450,3176.446,-1876.957,1493.982,0.0,-25.783,0.0);
- CreateObject(18450,3140.744,-1876.964,1476.936,0.0,-18.048,0.0);
- CreateObject(18450,3141.846,-1876.992,1478.626,0.0,-21.486,0.0);
- CreateObject(18450,3068.325,-1877.011,1444.564,0.0,-30.080,0.0);
- CreateObject(18450,3002.223,-1877.019,1400.063,0.0,-37.815,0.0);
- CreateObject(18450,2939.394,-1877.009,1351.302,0.0,-37.815,0.0);
- CreateObject(18450,2878.147,-1877.007,1303.761,0.0,-37.815,0.0);
- CreateObject(18450,2816.449,-1877.016,1255.876,0.0,-37.815,0.0);
- CreateObject(18450,2761.629,-1877.025,1213.324,0.0,-37.815,0.0);
- CreateObject(18450,2701.657,-1877.017,1160.716,0.0,-44.691,0.0);
- CreateObject(18450,2646.906,-1877.007,1106.543,0.0,-44.691,0.0);
- CreateObject(18450,2591.467,-1876.998,1051.681,0.0,-44.691,0.0);
- CreateObject(18450,2534.942,-1876.976,995.709,0.0,-44.691,0.0);
- CreateObject(18450,2481.326,-1876.987,936.743,0.0,-50.707,0.0);
- CreateObject(18450,2432.500,-1876.998,877.052,0.0,-50.707,0.0);
- CreateObject(18450,2383.269,-1876.983,816.874,0.0,-50.707,0.0);
- CreateObject(18450,2337.084,-1876.981,751.933,0.0,-58.442,0.0);
- CreateObject(18450,2297.643,-1876.982,687.719,0.0,-58.442,0.0);
- CreateObject(18450,2256.316,-1876.974,620.429,0.0,-58.442,0.0);
- CreateObject(18450,2216.011,-1876.988,554.791,0.0,-58.442,0.0);
- CreateObject(18450,2177.145,-1877.013,491.509,0.0,-58.442,0.0);
- CreateObject(18450,2141.771,-1877.048,420.242,0.0,-68.755,0.0);
- CreateObject(18450,2113.308,-1877.051,346.987,0.0,-68.755,0.0);
- CreateObject(18450,2085.731,-1877.046,276.045,0.0,-68.755,0.0);
- CreateObject(18450,2058.108,-1877.063,204.959,0.0,-68.755,0.0);
- CreateObject(18450,2030.834,-1877.064,134.747,0.0,-68.755,0.0);
- CreateObject(18450,2003.157,-1877.058,63.577,0.0,-68.755,0.0);
- CreateObject(18450,1990.246,-1877.062,33.884,0.0,-18.048,0.0);
- CreateObject(18450,1989.127,-1877.065,37.310,0.0,-41.253,0.0);
- CreateObject(18450,1963.068,-1877.068,26.964,0.0,2.578,0.0);
- CreateObject(18450,1968.747,-1877.086,28.383,0.0,-12.032,0.0);
- CreateObject(18450,1992.916,-1877.086,42.161,0.0,-46.410,0.0);
- CreateObject(1225,1925.809,-1883.917,29.594,0.0,0.0,0.0);
- CreateObject(1225,1925.396,-1877.178,29.410,0.0,0.0,0.0);
- CreateObject(1225,1925.444,-1873.733,29.408,0.0,0.0,0.0);
- CreateObject(1225,1925.214,-1871.556,29.418,0.0,0.0,0.0);
- CreateObject(1225,1925.591,-1873.847,29.401,0.0,0.0,0.0);
- CreateObject(1225,1925.936,-1874.487,29.386,0.0,0.0,0.0);
- CreateObject(1225,1925.547,-1875.452,29.403,0.0,0.0,0.0);
- CreateObject(1225,1925.338,-1876.663,29.413,0.0,0.0,0.0);
- CreateObject(1225,1925.197,-1877.947,29.419,0.0,0.0,0.0);
- CreateObject(1225,1925.157,-1878.592,29.421,0.0,0.0,0.0);
- CreateObject(1225,1924.971,-1879.234,29.429,0.0,0.0,0.0);
- CreateObject(1225,1924.990,-1880.472,29.428,0.0,0.0,0.0);
- CreateObject(1225,1925.034,-1881.187,29.426,0.0,0.0,0.0);
- CreateObject(1225,1925.333,-1881.613,29.615,0.0,0.0,0.0);
- CreateObject(1225,1925.408,-1882.252,29.612,0.0,0.0,0.0);
- CreateObject(1225,1925.131,-1882.688,29.624,0.0,0.0,0.0);
- CreateObject(1225,1925.319,-1883.185,30.216,0.0,0.0,0.0);
- CreateObject(1225,1925.438,-1874.419,29.408,0.0,0.0,0.0);
- CreateObject(1225,1925.038,-1872.733,29.426,0.0,0.0,0.0);
- CreateObject(1225,1924.561,-1870.495,29.448,0.0,0.0,0.0);
- CreateObject(1225,1924.040,-1871.229,29.471,0.0,0.0,0.0);
- CreateObject(1225,1925.616,-1872.229,29.400,0.0,0.0,0.0);
- CreateObject(1225,1925.448,-1876.002,29.408,0.0,0.0,0.0);
- CreateObject(1225,1925.872,-1872.929,29.389,0.0,0.0,0.0);
- CreateObject(1225,1925.263,-1875.015,29.416,0.0,0.0,0.0);
- CreateObject(1225,1925.310,-1877.634,29.996,0.0,0.0,0.0);
- CreateObject(1225,1925.025,-1879.365,29.860,0.0,0.0,0.0);
- CreateObject(1225,1924.819,-1879.769,29.436,0.0,0.0,0.0);
- CreateObject(1225,1924.690,-1871.286,29.442,0.0,0.0,0.0);
- CreateObject(1225,1925.389,-1881.350,30.059,0.0,0.0,0.0);
- CreateObject(1225,1925.243,-1882.275,29.619,0.0,0.0,0.0);
- CreateObject(1225,1925.339,-1882.917,29.615,0.0,0.0,0.0);
- CreateObject(1225,1925.860,-1883.276,30.192,0.0,0.0,0.0);
- CreateObject(1225,1907.538,-1887.584,17.022,0.0,0.0,0.0);
- CreateObject(1225,1906.827,-1888.134,16.705,0.0,0.0,0.0);
- CreateObject(1225,2901.744,-1881.111,1322.915,0.0,0.0,0.0);
- CreateObject(1225,3163.084,-1872.661,1488.315,0.0,0.0,0.0);
- CreateObject(1225,3523.917,-1880.023,1682.599,0.0,0.0,0.0);
- CreateObject(18450,1981.957,-1877.087,34.200,0.0,-28.361,0.0);
- AddPlayerClass(287,-1425.0354,491.3673,18.2344,1.7460,0,0,0,0,0,0);
- AddPlayerClass(299,-1425.0354,491.3673,18.2344,1.7460,0,0,0,0,0,0);
- AddPlayerClass(0,-1425.0354,491.3673,18.2344,1.7460,0,0,0,0,0,0);
- AddPlayerClass(255,-1425.0354,491.3673,18.2344,1.7460,0,0,0,0,0,0);
- AddPlayerClass(254,-1425.0354,491.3673,18.2344,1.7460,0,0,0,0,0,0);
- AddPlayerClass(179,-1425.0354,491.3673,18.2344,1.7460,0,0,0,0,0,0);
- AddPlayerClass(165,-1425.0354,491.3673,18.2344,1.7460,0,0,0,0,0,0);
- AddPlayerClass(29,-1425.0354,491.3673,18.2344,1.7460,0,0,0,0,0,0);
- AddPlayerClass(28,-1425.0354,491.3673,18.2344,1.7460,0,0,0,0,0,0);
- AddPlayerClass(23,-1425.0354,491.3673,18.2344,1.7460,0,0,0,0,0,0);
- AddPlayerClass(16,-1425.0354,491.3673,18.2344,1.7460,0,0,0,0,0,0);
- //==========================veiculos=========================================
- AddStaticVehicle(429,-1442.8058,507.4969,18.9556,271.8424,0,0); // veiculocarro
- AddStaticVehicle(520,-1460.4584,496.0816,19.2033,272.5295,0,0); // veiculohydra
- AddStaticVehicle(520,-1461.1918,506.8601,19.2699,271.1838,0,0); // veiculohydra
- AddStaticVehicle(425,-1575.9076,62.5023,17.3281,315.0667,0,0); // veiculohunter
- AddStaticVehicle(425,-1565.0803,50.7193,17.3281,315.6933,0,0); // veiculohunter
- AddStaticVehicle(425,-1577.5409,39.0016,17.3281,313.3550,0,0); // veiculohunter
- AddStaticVehicle(426,-1590.2859,50.6433,17.3281,316.3199,0,0); // veiculocarro
- return 1;
- }
- public OnGameModeExit()
- {
- return 1;
- }
- public OnPlayerRequestClass(playerid, classid)
- {
- SetPlayerInterior(playerid,0);
- SetPlayerFacingAngle(playerid, 90.0);
- SetPlayerPos(playerid,1680.6910,1448.6178,47.7813);
- SetPlayerCameraPos(playerid,1677.5505,1447.6898,47.7780);
- SetPlayerCameraLookAt(playerid,1680.6910,1448.6178,47.7813);
- return 1;
- }
- public OnPlayerRequestSpawn(playerid)
- {
- return 1;
- }
- public OnPlayerConnect(playerid)
- {
- PlayerPlaySound(playerid,1097, 0.0, 0.0, 0.0);
- SendClientMessage(playerid, VERMELHO,"{1E90FF}Bem vindo ao {FF0000}Vitor Marfioso [DM Simples]");
- SendClientMessage(playerid, VERMELHO,"{1E90FF}Se precisar de ajuda digite {FF0000}/ajuda.");
- SendClientMessage(playerid, VERMELHO,"{54FF9F}==========================================");
- SendClientMessage(playerid, BRUNO,"{0000FF}Gamemode de DM Feito Por {FF0000}Vitor Marfioso, para estudos");
- SendClientMessage(playerid, BRUNO,"{54FF9F}==========================================");
- TextDrawShowForPlayer(playerid, Sbv);
- TextDrawShowForPlayer(playerid, tinfo);
- TextDrawShowForPlayer(playerid, Name);
- TextDrawShowForPlayer(playerid, Site);
- TextDrawShowForPlayer(playerid, TO);
- new string[40];
- new pName[25];
- GetPlayerName(playerid, pName, sizeof(pName));
- format(string, sizeof(string), "{A2B5CD}%s Entrou no Servidor!", pName);
- SendClientMessageToAll(BRUNO, string);
- return 1;
- }
- public OnPlayerDisconnect(playerid, reason)
- {
- new pName[MAX_PLAYER_NAME];
- new string[40];
- GetPlayerName(playerid, pName, sizeof(pName));
- format(string, sizeof(string), "{A2B5CD}%s Saiu do Servidor! ", pName);
- SendClientMessageToAll(BRUNO, string);
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- GivePlayerWeapon(playerid, 31, 999);//31 = M4, 999= Munição
- GivePlayerWeapon(playerid, 32, 999);//32 = Tec9 (Metralhadora)
- GivePlayerWeapon(playerid, 25, 999);//25 = Desert Eagle
- GivePlayerWeapon(playerid, 34, 999);//34 = Sniper
- GivePlayerWeapon(playerid, 16, 999);//16 = Granada
- return 1;
- }
- public OnPlayerDeath(playerid, killerid, reason)
- {
- GameTextForPlayer(playerid,"~R~FOI ABATIDO",4000,5);
- return 1;
- }
- public OnVehicleSpawn(vehicleid)
- {
- return 1;
- }
- public OnVehicleDeath(vehicleid, killerid)
- {
- return 1;
- }
- public OnPlayerText(playerid, text[])
- {
- return 1;
- }
- public OnPlayerCommandText(playerid, cmdtext[])
- {
- new idx;
- new cmd[256];
- new string[256];
- cmd = strtok(cmdtext, idx);
- if(strcmp(cmd, "/ajuda", true) == 0) {
- SendClientMessage(playerid, VERMELHO,"{FF0000}USE: {33CCFF}/gareo {33FF00}(Para ver Os Menus Aereos)");
- SendClientMessage(playerid, VERMELHO,"{FF0000}USE: {33CCFF}/x1 {33FF00}(Para ir Arena x1)");
- SendClientMessage(playerid, VERMELHO,"{FF0000}USE: {33CCFF}/Minigun {33FF00}(Para Ir Arenda de Minigun.)");
- SendClientMessage(playerid, VERMELHO,"{FF0000}USE: {33CCFF}/Arenadm {33FF00}(Para Ir Arenda DM)");
- SendClientMessage(playerid, VERMELHO,"{FF0000}USE: {33CCFF}/Drop {33FF00}(Para ir Ao Drop do Servidor)");
- return 1;
- }
- if(strcmp(cmd, "/gareo", true) == 0) {
- SendClientMessage(playerid, VERMELHO,"{FF0000}USE: {33CCFF}/Hydras {33FF00}(Para Ir A Area Hydra.)");
- SendClientMessage(playerid, VERMELHO,"{FF0000}USE: {33CCFF}/Hunters {33FF00}(Para Ir A Area Hunters.");
- return 1;
- }
- if(strcmp(cmd, "/Hydras", true) == 0)
- {
- SetPlayerInterior(playerid,0);
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid,Arenadm[random(sizeof(Arenadm))],999);
- GivePlayerWeapon(playerid,Arenadm[random(sizeof(Arenadm))],999);
- GivePlayerWeapon(playerid,Arenadm[random(sizeof(Arenadm))],999);
- SetPlayerArmour(playerid, 100);
- SetPlayerHealth(playerid, 100);
- GetPlayerName(playerid, pname, sizeof (pname));
- format(string, sizeof(string),"{FFFF00}%s {FFFFFF}Foi para Area Hydra{FF0000} (/Hydras)", pname);
- SendClientMessageToAll(VERMELHO, string);
- GameTextForPlayer(playerid,"~g~Voce esta na Area Hydra", 3000, 5);
- SetPlayerPos(playerid,-1420.5565,512.8841,18.2427);
- return 1;
- }
- if (strcmp(cmdtext,"/Hunters", true)==0)
- {
- SetPlayerInterior(playerid,0);
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid,Arenadm[random(sizeof(Arenadm))],999);
- GivePlayerWeapon(playerid,Arenadm[random(sizeof(Arenadm))],999);
- GivePlayerWeapon(playerid,Arenadm[random(sizeof(Arenadm))],999);
- SetPlayerArmour(playerid, 100);
- SetPlayerHealth(playerid, 100);
- GetPlayerName(playerid, pname, sizeof (pname));
- format(string, sizeof(string),"{FFFF00}%s {FFFFFF}Foi para Area Hunter{FF0000} (/Hunters)", pname);
- SendClientMessageToAll(VERMELHO, string);
- GameTextForPlayer(playerid,"~g~Voce esta na Area Hunter", 3000, 5);
- SetPlayerPos(playerid,-1569.9683,78.5559,17.3281);
- return 1;
- }
- if (strcmp(cmdtext,"/x1", true)==0)
- {
- SetPlayerInterior(playerid,0);
- GivePlayerWeapon(playerid,Arenadm[random(sizeof(Arenadm))],999);
- GivePlayerWeapon(playerid,Arenadm[random(sizeof(Arenadm))],999);
- GivePlayerWeapon(playerid,Arenadm[random(sizeof(Arenadm))],999);
- GameTextForPlayer(playerid,"~g~Voce e o melhor, prove!", 3000, 5);
- SetPlayerPos(playerid,1537.954,-1365.666,328.487);
- return 1;
- }
- if(strcmp(cmd, "/Arenadm", true) == 0)
- {
- SetPlayerInterior(playerid,0);
- ResetPlayerWeapons(playerid);
- SetPlayerArmour(playerid, 100);
- SetPlayerHealth(playerid, 100);
- GetPlayerName(playerid, pname, sizeof (pname));
- format(string, sizeof(string),"{FFFF00}%s {FFFFFF}Foi para Arenadm{FF0000} (/Arenadm)", pname);
- SendClientMessageToAll(VERMELHO, string);
- GameTextForPlayer(playerid,"~g~Voce esta na Arena Arenadm", 3000, 5);
- SetPlayerPos(playerid,1024.8194, -1192.5442, 54.5666);
- return 1;
- }
- if(strcmp(cmd, "/Minigun", true) == 0)
- {
- SetPlayerInterior(playerid,0);
- ResetPlayerWeapons(playerid);
- GivePlayerWeapon(playerid,Minigun[random(sizeof(Minigun))],10000000000);
- SetPlayerArmour(playerid, 100);
- SetPlayerHealth(playerid, 100);
- GetPlayerName(playerid, pname, sizeof (pname));
- format(string, sizeof(string),"{FFFF00}%s {FFFFFF}Foi para Arena Minigun{FF0000} (/Minigun)", pname);
- SendClientMessageToAll(VERMELHO, string);
- GameTextForPlayer(playerid,"~g~Voce esta na Arena Minigun", 3000, 5);
- SetPlayerPos(playerid,202.6418,1911.3970,17.6406);
- return 1;
- }
- if (strcmp("/drop", cmdtext, true, 10) == 0)
- {
- SetPlayerInterior(playerid,0);
- SetPlayerPos(playerid, 3765.612, -1877.323, 1799.874);
- GameTextForPlayer(playerid,"~g~Voce esta no Drop", 3000, 5);
- SetVehiclePos(playerid, 3765.612, -1877.323, 1799.874);
- format(string, sizeof(string),"{FFFF00}%s {FFFFFF}Foi para o Drop{FF0000} (/Drop)", pname);
- SendClientMessageToAll(VERMELHO, string);
- SetPlayerFacingAngle(playerid,2);
- return 1;
- }
- 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 OnObjectMoved(objectid)
- {
- return 1;
- }
- public OnPlayerObjectMoved(playerid, objectid)
- {
- return 1;
- }
- public OnPlayerPickUpPickup(playerid, pickupid)
- {
- return 1;
- }
- public OnPlayerSelectedMenuRow(playerid, row)
- {
- return 1;
- }
- public OnPlayerExitedMenu(playerid)
- {
- return 1;
- }
- strtok(const string[], &index)
- {
- new length = strlen(string);
- while ((index < length) && (string[index] <= ' '))
- {
- index++;
- }
- new offset = index;
- new result[20];
- while ((index < length) && (string[index] > ' ') && ((index - offset) < (sizeof(result) - 1)))
- {
- result[index - offset] = string[index];
- index++;
- }
- result[index - offset] = EOS;
- return result;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement