SSGames - Servidores online de qualidade - Inscreva-se Ja! é entre para nossa comunidade! - Ouça nossa web radio -Veja nossas novidades - Participe dos nossos setores de jogos online - Parcerias aberta fale já com um administrador.

Corrida de checkpoint Simples

wooZ
wooZ
--> Postador Iniciante
--> Postador Iniciante

Steam Steam : https://steamcommunity.com/id/noppet/
Mensagens : 6
Moedas : 283
Data de inscrição : 15/03/2019
Idade : 14
Localização : Paraná / Brasil

Corrida de checkpoint Simples Empty Corrida de checkpoint Simples

Mensagem por wooZ em Seg 18 Mar 2019 - 20:34

Alguém de boa vontade faz uma corrida simples? 
Só pra mim estudar mesmo.
Desde já agradeço  Very Happy
HuemersonFMG
HuemersonFMG
SS - Colaborador
SS - Colaborador

Steam Steam : http://familiagarcia-samp.forumeiros.com/
Mensagens : 102
Moedas : 853
Data de inscrição : 14/03/2018
Idade : 47
Localização : Brasil - Minas Gerais

Corrida de checkpoint Simples Empty Re: Corrida de checkpoint Simples

Mensagem por HuemersonFMG em Ter 11 Jun 2019 - 17:09

Local errado... poste no tópico de ajuda...



Corrida de checkpoint Simples Cubol11
Corrida de checkpoint Simples 560x95_FFEE00_23EB1D_010008_000005
http://familiagarcia-samp.forumeiros.com/
Tio_Script
Tio_Script
--> Postador Fanático
--> Postador Fanático

Mensagens : 205
Moedas : 944
Data de inscrição : 07/07/2018
Idade : 21
Localização : new york city

Corrida de checkpoint Simples Empty Re: Corrida de checkpoint Simples

Mensagem por Tio_Script em Ter 11 Jun 2019 - 21:22

Código:
#define FILTERSCRIPT
#include <a_samp>
#if defined FILTERSCRIPT
#define END 0.0
 
new Trocar[MAX_PLAYERS];
new Float:CheckPoints[37][3] = {
{-2086.0527,-105.8905,35.3203},
{-2090.9766,-128.7259,35.3203},
{-2088.2654,-150.5495,35.3203},
{-2074.0823,-169.4388,35.3203},
{-2056.9495,-169.8418,35.3203},
{-2065.2539,-152.5580,35.3203},
{-2050.6106,-144.4124,35.3203},
{-2047.9795,-159.9569,35.3203},
{-2044.9012,-175.6945,35.3274},
{-2041.1973,-189.3500,35.3203},
{-2045.3815,-202.5261,35.3203},
{-2064.4016,-209.9813,35.3203},
{-2074.5728,-199.9971,35.3203},
{-2080.0781,-183.4776,35.3203},
{-2088.4531,-193.4049,35.3203},
{-2087.3242,-211.8555,35.3203},
{-2085.5752,-237.8552,35.3203},
{-2085.2065,-258.3018,35.3203},
{-2071.2332,-263.8721,34.8870},
{-2061.0168,-246.9995,34.8867},
{-2043.6732,-239.7599,34.8892},
{-2026.7031,-249.3700,34.8870},
{-2025.4465,-204.2731,34.8872},
{-2028.3578,-154.1619,34.8906},
{-2045.6136,-128.9976,34.8450},
{-2087.9326,-138.1302,34.8877},
{-2074.1792,-168.8651,34.8864},
{-2064.2368,-142.5199,34.8940},
{-2060.7805,-210.4797,34.8875},
{-2082.4712,-183.2253,34.8880},
{-2088.5757,-205.2327,34.8919},
{-2063.1228,-259.6330,34.8902},
{-2025.0553,-253.8085,34.8878},
{-2026.0933,-209.9765,34.8858},
{-2020.1937,-142.0751,34.8826},
{-2050.6543,-113.6982,34.8392},
{-2093.2056,-109.2059,34.8859}
};
 
 
public OnPlayerCommandText(playerid, cmdtext[])
{
        if(strcmp(cmdtext,"/Kart", true) == 0)
        {
        for(new i = 0; i < GetMaxPlayers(); i++)
        {
        if(IsPlayerConnected(i))
        {
        SetPlayerPos(playerid,-2065.7354,      -105.4730,        35.3203);
        DisablePlayerRaceCheckpoint(playerid);
        SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[0][0], CheckPoints[0][1], CheckPoints[0][2], CheckPoints[1][0], CheckPoints[1][1], CheckPoints[1][2], 10);
        Trocar[playerid] = 1;
        return 1;
        }
        }
        }
        return 0;
}
 
 
public OnGameModeInit()
{
//      -----        Carros
        AddStaticVehicle(571,  -2079.6365,  -104.7291,  34.6036,  94.8207,1,1); // Kart_Corrida
        AddStaticVehicle(571,  -2073.6575,  -106.2721,  34.4723,  94.8143,1,1); // Kart_Corrida
        AddStaticVehicle(571,  -2059.4404,  -106.3310,  35.3203,  94.8143,1,1); // Kart_Corrida
        AddStaticVehicle(571,  -2060.0649,  -109.9490,  35.3252,  94.8143,1,1); // Kart_Corrida
 
        CreateObject(978, -2082.315918, -136.974884, 35.160534, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2082.457520, -145.931808, 35.160534, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2082.612549, -155.178101, 35.160534, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2079.496582, -163.104187, 35.160534, 0.0000, 0.0000, 133.6901);
        CreateObject(978, -2071.854492, -167.593994, 35.160534, 0.0000, 0.0000, 165.5211);
        CreateObject(978, -2062.749268, -168.374344, 35.160534, 0.0000, 0.0000, 184.6197);
        CreateObject(978, -2058.039551, -163.432068, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2062.176514, -157.628662, 35.160534, 0.0000, 0.0000, 343.7747);
        CreateObject(978, -2071.159180, -155.028503, 35.160534, 0.0000, 0.0000, 343.7747);
        CreateObject(978, -2075.473633, -149.101349, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2075.042480, -139.793472, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2070.155518, -134.738190, 35.160534, 0.0000, 0.0000, 184.6197);
        CreateObject(978, -2060.876221, -133.967743, 35.160534, 0.0000, 0.0000, 184.6197);
        CreateObject(978, -2052.897949, -136.975739, 35.167614, 0.0000, 0.0000, 133.6901);
        CreateObject(978, -2047.745361, -144.526901, 35.160534, 0.0000, 0.0000, 114.5916);
        CreateObject(978, -2041.980225, -161.925186, 35.167614, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2043.852905, -152.958832, 35.160534, 0.0000, 0.0000, 114.5916);
        CreateObject(978, -2042.102173, -171.124634, 35.167614, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2040.222046, -179.958466, 35.160534, 0.0000, 0.0000, 114.5916);
        CreateObject(978, -2036.365601, -188.346619, 35.160534, 0.0000, 0.0000, 114.5916);
        CreateObject(978, -2034.494019, -197.274719, 35.160534, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2038.233521, -204.895721, 35.160534, 0.0000, 0.0000, 38.1971);
        CreateObject(978, -2045.562988, -210.688629, 35.160534, 0.0000, 0.0000, 38.1971);
        CreateObject(978, -2053.794922, -214.647919, 35.167614, 0.0000, 0.0000, 12.7324);
        CreateObject(978, -2062.765625, -216.724136, 35.160534, 0.0000, 0.0000, 12.7324);
        CreateObject(978, -2071.728271, -216.241638, 35.160534, 0.0000, 0.0000, 340.9014);
        CreateObject(978, -2078.153809, -214.078873, 35.160534, 0.0000, 0.0000, 340.9014);
        CreateObject(978, -2082.386475, -207.812927, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2081.939697, -198.446838, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2081.533691, -189.190903, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2083.074707, -207.371307, 35.160534, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2082.953613, -198.138397, 35.160534, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2082.838867, -189.314270, 35.160534, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2083.209473, -216.685181, 35.160534, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2080.789307, -225.182251, 35.160534, 0.0000, 0.0000, 122.4401);
        CreateObject(978, -2081.124756, -240.610229, 35.160534, 0.0000, 0.0000, 122.4401);
        CreateObject(978, -2080.982910, -232.994553, 35.160534, 0.0000, 0.0000, 54.9401);
        CreateObject(978, -2081.287109, -248.422546, 35.160534, 0.0000, 0.0000, 54.9401);
        CreateObject(978, -2081.459717, -256.052582, 35.160534, 0.0000, 0.0000, 122.4401);
        CreateObject(978, -2074.371094, -260.014862, 35.160534, 0.0000, 0.0000, 178.6901);
        CreateObject(978, -2066.481934, -256.910553, 35.160534, 0.0000, 0.0000, 223.6902);
        CreateObject(978, -2063.040283, -249.128677, 35.160534, 0.0000, 0.0000, 268.6902);
        CreateObject(978, -2062.838867, -239.787994, 35.160534, 0.0000, 0.0000, 268.6902);
        CreateObject(978, -2060.034912, -231.278885, 35.167614, 0.0000, 0.0000, 234.9402);
        CreateObject(978, -2053.435303, -224.944794, 35.160534, 0.0000, 0.0000, 212.4401);
        CreateObject(978, -2044.894897, -222.572830, 35.167614, 0.0000, 0.0000, 178.6901);
        CreateObject(978, -2040.288086, -227.418915, 35.167614, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2040.423950, -236.700241, 35.160534, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2040.547852, -245.959625, 35.160534, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2040.691650, -255.283356, 35.160534, 0.0000, 0.0000, 89.1267);
        CreateObject(978, -2036.214478, -259.404846, 35.160534, 0.0000, 0.0000, 184.6197);
        CreateObject(978, -2031.451050, -254.445374, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2031.038940, -245.110016, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2030.632080, -235.800629, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2030.206421, -226.476471, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2029.797241, -217.120300, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2029.362793, -207.782776, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2028.926514, -198.518387, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2030.299316, -189.496628, 35.160534, 0.0000, 0.0000, 289.8803);
        CreateObject(978, -2033.456177, -180.800400, 35.160534, 0.0000, 0.0000, 289.8803);
        CreateObject(978, -2036.611572, -172.101044, 35.167614, 0.0000, 0.0000, 289.8803);
        CreateObject(978, -2038.002808, -163.007385, 35.167614, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2037.591431, -153.699051, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2037.174927, -144.378265, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2040.683472, -137.079346, 35.135830, 0.0000, 0.0000, 323.6303);
        CreateObject(978, -2048.202881, -131.551086, 35.135464, 0.0000, 0.0000, 323.6303);
        CreateObject(978, -2056.567383, -128.621429, 35.157154, 0.0000, 0.0000, 357.3803);
        CreateObject(978, -2069.884033, -127.986526, 35.167259, 0.0000, 0.0000, 357.3803);
        CreateObject(978, -2064.287842, -128.261551, 35.167057, 0.0000, 0.0000, 357.3803);
        CreateObject(978, -2078.394531, -130.150314, 35.167614, 0.0000, 0.0000, 31.1304);
        CreateObject(979, -2077.486816, -269.740723, 35.160534, 0.0000, 0.0000, 0.0000);
        CreateObject(979, -2069.195557, -269.749268, 35.160534, 0.0000, 0.0000, 0.0000);
        CreateObject(979, -2061.250977, -266.460846, 35.160534, 0.0000, 0.0000, 45.0000);
        CreateObject(979, -2057.216553, -262.387939, 35.160534, 0.0000, 0.0000, 45.0000);
        CreateObject(979, -2053.970459, -254.478439, 35.160534, 0.0000, 0.0000, 90.0000);
        CreateObject(979, -2053.985352, -245.334412, 35.167614, 0.0000, 0.0000, 90.0000);
        CreateObject(979, -2051.381836, -236.918182, 35.160534, 0.0000, 0.0000, 56.2500);
        CreateObject(979, -2049.028076, -237.669510, 35.160534, 0.0000, 0.0000, 270.0000);
        CreateObject(979, -2049.044922, -246.884918, 35.160534, 0.0000, 0.0000, 270.0000);
        CreateObject(979, -2049.033936, -255.769867, 35.160534, 0.0000, 0.0000, 270.0000);
        CreateObject(979, -2049.063477, -263.385803, 35.167614, 0.0000, 0.0000, 270.0000);
        CreateObject(979, -2044.377563, -268.041107, 35.167614, 0.0000, 0.0000, 0.0000);
        CreateObject(979, -2035.054443, -268.083069, 35.160534, 0.0000, 0.0000, 0.0000);
        CreateObject(979, -2027.050781, -264.789642, 35.160534, 0.0000, 0.0000, 45.0000);
        CreateObject(979, -2023.787598, -256.779480, 35.160534, 0.0000, 0.0000, 90.0000);
        CreateObject(979, -2023.786987, -247.463089, 35.160534, 0.0000, 0.0000, 90.0000);
        CreateObject(979, -2022.878540, -238.330688, 35.167614, 0.0000, 0.0000, 78.7500);
        CreateObject(979, -2021.946167, -229.181305, 35.160534, 0.0000, 0.0000, 90.0000);
        CreateObject(979, -2021.948853, -220.116791, 35.160534, 0.0000, 0.0000, 90.0000);
        CreateObject(979, -2021.899048, -210.973465, 35.160534, 0.0000, 0.0000, 90.0000);
        CreateObject(979, -2021.009277, -201.825668, 35.160534, 0.0000, 0.0000, 78.7500);
        CreateObject(979, -2019.233887, -192.898376, 35.160534, 0.0000, 0.0000, 78.7500);
        CreateObject(979, -2017.461426, -184.186554, 35.160534, 0.0000, 0.0000, 78.7500);
        CreateObject(979, -2015.731201, -175.498901, 35.160534, 0.0000, 0.0000, 78.7500);
        CreateObject(979, -2014.272705, -168.217346, 35.160534, 0.0000, 0.0000, 78.7500);
        CreateObject(979, -2012.533936, -159.430328, 35.160534, 0.0000, 0.0000, 78.7500);
        CreateObject(979, -2014.876099, -129.756851, 35.133190, 0.0000, 0.0000, 135.0000);
        CreateObject(979, -2022.594849, -125.589493, 35.064091, 0.0000, 0.0000, 168.7500);
        CreateObject(979, -2031.312256, -122.929245, 35.039532, 0.0000, 0.0000, 157.5000);
        CreateObject(979, -2039.772095, -119.407532, 35.036922, 0.0000, 0.0000, 157.5000);
        CreateObject(979, -2046.626831, -113.800323, 35.077694, 0.0000, 0.0000, 123.7499);
        CreateObject(979, -2051.738770, -106.122696, 35.116837, 0.0000, 0.0000, 123.7499);
        CreateObject(979, -2025.770264, -173.442429, 35.160534, 0.0000, 0.0000, 90.0000);
        CreateObject(979, -2025.757813, -164.119827, 35.167614, 0.0000, 0.0000, 90.0000);
        CreateObject(979, -2025.758179, -154.931900, 35.160534, 0.0000, 0.0000, 90.0000);
        CreateObject(979, -2025.758667, -145.796967, 35.160534, 0.0000, 0.0000, 90.0000);
        CreateObject(979, -2029.020020, -137.787109, 35.128262, 0.0000, 0.0000, 135.0000);
        CreateObject(979, -2035.433838, -131.358917, 35.094032, 0.0000, 0.0000, 135.0000);
        CreateObject(979, -2042.985352, -126.250740, 35.092319, 0.0000, 0.0000, 157.5000);
        CreateObject(979, -2050.985352, -121.902679, 35.113529, 0.0000, 0.0000, 146.2500);
        CreateObject(979, -2059.412598, -119.327591, 35.163830, 0.0000, 0.0000, 180.0000);
        CreateObject(979, -2068.707031, -119.353165, 35.172398, 0.0000, 0.0000, 180.0000);
        CreateObject(979, -2073.904053, -119.286736, 35.168591, 0.0000, 0.0000, 180.0000);
        CreateObject(979, -2086.979492, -124.013260, 35.167614, 0.0000, 0.0000, 270.0000);
        CreateObject(979, -2095.323242, -132.024109, 35.160534, 0.0000, 0.0000, 270.0000);
        CreateObject(979, -2094.234375, -139.290741, 35.160534, 0.0000, 0.0000, 292.5001);
        CreateObject(979, -2092.519043, -148.170197, 35.160534, 0.0000, 0.0000, 270.0000);
        CreateObject(979, -2092.538818, -157.202362, 35.160534, 0.0000, 0.0000, 270.0000);
        CreateObject(979, -2090.011475, -165.679352, 35.160534, 0.0000, 0.0000, 303.7500);
        CreateObject(979, -2083.662354, -172.137756, 35.160534, 0.0000, 0.0000, 326.2501);
        CreateObject(979, -2075.244385, -175.678741, 35.160534, 0.0000, 0.0000, 348.7501);
        CreateObject(979, -2066.109375, -176.594070, 35.160534, 0.0000, 0.0000, 0.0001);
        CreateObject(979, -2056.840088, -176.592545, 35.160534, 0.0000, 0.0000, 0.0001);
        CreateObject(979, -2052.049805, -171.906342, 35.160534, 0.0000, 0.0000, 90.0001);
        CreateObject(979, -2052.009521, -162.798279, 35.160534, 0.0000, 0.0000, 90.0001);
        CreateObject(979, -2053.610107, -154.407455, 35.160534, 0.0000, 0.0000, 112.5001);
        CreateObject(979, -2060.046143, -149.165756, 35.160534, 0.0000, 0.0000, 168.7501);
        CreateObject(979, -2060.682373, -145.822357, 35.167614, 0.0000, 0.0000, 33.7501);
        CreateObject(979, -2054.385986, -147.047577, 35.160534, 0.0000, 0.0000, 303.7502);
        CreateObject(979, -2050.886963, -155.399200, 35.167614, 0.0000, 0.0000, 281.2502);
        CreateObject(979, -2050.000977, -164.589020, 35.160534, 0.0000, 0.0000, 270.0002);
        CreateObject(979, -2050.017334, -173.789963, 35.160534, 0.0000, 0.0000, 270.0002);
        CreateObject(979, -2048.174805, -182.691895, 35.167614, 0.0000, 0.0000, 292.5002);
        CreateObject(979, -2044.901978, -190.480392, 35.160534, 0.0000, 0.0000, 292.5002);
        CreateObject(979, -2044.961182, -198.745239, 35.160534, 0.0000, 0.0000, 247.5002);
        CreateObject(979, -2050.940918, -204.728165, 35.167614, 0.0000, 0.0000, 202.5002);
        CreateObject(979, -2059.551514, -207.326019, 35.160534, 0.0000, 0.0000, 191.2502);
        CreateObject(979, -2068.167969, -206.474213, 35.160534, 0.0000, 0.0000, 157.5002);
        CreateObject(979, -2071.424072, -200.238525, 35.160534, 0.0000, 0.0000, 78.7501);
        CreateObject(979, -2069.588623, -191.400833, 35.160534, 0.0000, 0.0000, 78.7501);
        CreateObject(979, -2071.236084, -183.003128, 35.160534, 0.0000, 0.0000, 123.7502);
        CreateObject(979, -2078.117676, -177.437805, 35.160534, 0.0000, 0.0000, 157.5002);
        CreateObject(979, -2086.826416, -177.391769, 35.160534, 0.0000, 0.0000, 202.5002);
        CreateObject(979, -2092.937012, -183.473770, 35.160530, 0.0000, 0.0000, 247.5002);
        CreateObject(979, -2094.803467, -192.350510, 35.160534, 0.0000, 0.0000, 270.0002);
        CreateObject(979, -2094.768555, -201.254089, 35.160534, 0.0000, 0.0000, 270.0002);
        CreateObject(979, -2094.729492, -210.396332, 35.160534, 0.0000, 0.0000, 270.0002);
        CreateObject(979, -2094.761719, -219.705276, 35.160534, 0.0000, 0.0000, 270.0002);
        CreateObject(979, -2091.659180, -225.347885, 35.160534, 0.0000, 0.0000, 315.0002);
        CreateObject(979, -2090.960693, -232.308746, 35.160534, 0.0000, 0.0000, 236.2502);
        CreateObject(979, -2090.118164, -239.445877, 35.160534, 0.0000, 0.0000, 315.0002);
        CreateObject(979, -2089.476318, -246.521240, 35.160534, 0.0000, 0.0000, 236.2502);
        CreateObject(979, -2091.438232, -253.209930, 35.160534, 0.0000, 0.0000, 270.0002);
        CreateObject(979, -2089.708496, -260.077118, 35.160534, 0.0000, 0.0000, 292.5002);
        CreateObject(979, -2085.279541, -266.542236, 35.160534, 0.0000, 0.0000, 315.0002);
        CreateObject(978, -2025.257080, -173.428757, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2024.835205, -164.254044, 35.167614, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2024.407227, -154.921021, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2023.981445, -145.754074, 35.160534, 0.0000, 0.0000, 267.3803);
        CreateObject(978, -2026.924194, -137.840271, 35.131939, 0.0000, 0.0000, 312.3803);
        CreateObject(978, -2033.834839, -131.658234, 35.100506, 0.0000, 0.0000, 323.6303);
        CreateObject(978, -2041.155518, -126.296761, 35.087566, 0.0000, 0.0000, 323.6303);
        CreateObject(978, -2048.646484, -120.750809, 35.095257, 0.0000, 0.0000, 323.6303);
        CreateObject(978, -2054.202148, -115.677429, 35.138103, 0.0000, 0.0000, 312.3803);
        CreateObject(978, -2061.912598, -111.971786, 35.165665, 0.0000, 0.0000, 357.3803);
        CreateObject(978, -2071.080078, -111.556122, 35.170662, 0.0000, 0.0000, 357.3803);
        CreateObject(978, -2080.255615, -111.179161, 35.160534, 0.0000, 0.0000, 357.3803);
        CreateObject(978, -2085.082764, -110.984291, 35.160534, 0.0000, 0.0000, 357.3804);
        CreateObject(978, -2089.774658, -115.301666, 35.160534, 0.0000, 0.0000, 87.3804);
        CreateObject(978, -2088.431885, -124.177673, 35.160534, 0.0000, 0.0000, 109.8804);
        CreateObject(979, -2082.898926, -119.262718, 35.160534, 0.0000, 0.0000, 180.0000);
        CreateObject(979, -2095.680176, -122.864456, 35.267235, 0.0000, 0.0000, 275.0197);
        CreateObject(10838, -2052.518555, -240.729172, 51.872723, 0.0000, 0.0000, 78.7500);
        CreateObject(3819, -2058.966797, -203.654358, 35.318069, 0.0000, 0.0000, 101.2500);
        CreateObject(3819, -2050.634033, -200.281952, 35.325150, 0.0000, 0.0000, 123.7499);
        CreateObject(3819, -2067.519287, -199.619736, 35.318069, 0.0000, 0.0000, 348.7500);
        CreateObject(3819, -2065.743408, -189.760925, 35.318069, 0.0000, 0.0000, 348.7500);
        CreateObject(3819, -2061.842041, -163.556900, 35.318069, 0.0000, 0.0000, 180.0000);
        CreateObject(3819, -2075.864014, -161.308502, 35.318069, 0.0000, 0.0000, 33.7500);
        CreateObject(3819, -2062.066895, -115.823563, 35.323311, 0.0000, 0.0000, 90.0000);
        CreateObject(3819, -2072.790771, -115.612854, 35.326942, 0.0000, 0.0000, 90.0000);
        CreateObject(3819, -2083.018799, -115.419281, 35.318069, 0.0000, 0.0000, 90.0000);
        CreateObject(3819, -2078.625977, -148.534607, 35.318069, 0.0000, 0.0000, 180.0000);
        CreateObject(3819, -2078.630859, -137.508026, 35.318069, 0.0000, 0.0000, 348.7500);
        CreateObject(3819, -2044.629028, -219.461899, 35.318069, 0.0000, 0.0000, 90.0001);
        CreateObject(3819, -2036.229248, -256.749084, 35.318069, 0.0000, 0.0000, 90.0001);
        CreateObject(1231, -2078.175781, -143.341461, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2094.159668, -147.480270, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2080.095947, -154.049011, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2068.213379, -157.739120, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2067.657227, -163.024933, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2060.105469, -146.278595, 37.057785, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2055.401367, -147.373917, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2062.080566, -197.196533, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2070.170654, -180.556305, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2058.844238, -177.989792, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2047.673828, -185.100113, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2045.770996, -192.754395, 37.057785, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2037.878418, -172.800842, 37.057785, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2040.358765, -164.576492, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2039.282593, -151.865585, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2044.257202, -141.058197, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2038.892822, -138.732773, 37.047894, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2034.689209, -180.295593, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2034.239746, -185.980865, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2031.442383, -195.400894, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2034.965942, -209.727448, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2052.381104, -220.598541, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(1231, -2061.431396, -229.395248, 37.050705, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2070.280762, -132.083191, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2056.597412, -130.755600, 34.320213, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2014.852661, -125.748482, 34.245758, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2041.360962, -115.460854, 34.188873, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2039.871826, -171.026550, 34.321228, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2040.303711, -156.497055, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2047.343506, -137.371597, 34.312714, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2041.198242, -146.018890, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2035.971558, -232.760773, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2051.471436, -222.300446, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2033.563965, -187.710236, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2054.935791, -189.292679, 34.321228, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2061.869873, -195.132660, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2055.549072, -193.002930, 34.321228, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2095.325439, -156.502487, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2088.946045, -172.397964, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2093.539307, -175.889343, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2063.943848, -179.099289, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2080.286377, -215.965118, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2070.887695, -218.742264, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2075.662354, -231.537140, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2065.919434, -222.083130, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2057.892822, -219.725067, 34.321228, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2038.203247, -213.095474, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2033.984497, -224.548859, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2089.804932, -264.865051, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2078.155762, -273.049896, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2062.254395, -278.542145, 34.321228, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2055.460449, -266.878479, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2033.878174, -272.309692, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2073.499756, -250.779785, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2078.010742, -255.991425, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2069.641846, -255.782410, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(1237, -2025.642822, -178.189804, 34.323193, 0.0000, 0.0000, 0.0000);
        CreateObject(1237, -2081.413818, -184.502136, 34.510471, 0.0000, 0.0000, 0.0000);
        CreateObject(1237, -2082.821045, -184.510666, 34.323193, 0.0000, 0.0000, 0.0000);
        CreateObject(1237, -2082.074707, -184.222076, 34.323193, 0.0000, 0.0000, 0.0000);
        CreateObject(615, -2082.221924, -186.273743, 34.314148, 0.0000, 0.0000, 0.0000);
        CreateObject(10281, -2094.769531, -139.235382, 37.816933, 0.0000, 0.0000, 90.0000);
        CreateObject(10837, -2089.665283, -145.797974, 38.650078, 0.0000, 0.0000, 247.5000);
        CreateObject(1262, -2094.207275, -142.891022, 36.532459, 0.0000, 0.0000, 0.0000);
        CreateObject(1262, -2094.349121, -142.886078, 36.838676, 0.0000, 0.0000, 337.5000);
        CreateObject(14826, -2014.663574, -146.964539, 35.084690, 0.0000, 0.0000, 90.0000);
        return 1;
}
public OnPlayerEnterRaceCheckpoint(playerid)
{
  switch(Trocar[playerid])
    {
        case 1:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[1][0], CheckPoints[1][1], CheckPoints[1][2], CheckPoints[2][0], CheckPoints[2][1], CheckPoints[2][2], 10);
              Trocar[playerid] = 2;
        }
        case 2:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[2][0], CheckPoints[2][1], CheckPoints[2][2], CheckPoints[3][0], CheckPoints[3][1], CheckPoints[3][2], 10);
              Trocar[playerid] = 3;
        }
        case 3:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[3][0], CheckPoints[3][1], CheckPoints[3][2], CheckPoints[4][0], CheckPoints[4][1], CheckPoints[4][2], 10);
              Trocar[playerid] = 4;
        }
        case 4:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[4][0], CheckPoints[4][1], CheckPoints[4][2], CheckPoints[5][0], CheckPoints[5][1], CheckPoints[5][2], 10);
              Trocar[playerid] = 5;
        }
        case 5:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[5][0], CheckPoints[5][1], CheckPoints[5][2], CheckPoints[6][0], CheckPoints[6][1], CheckPoints[6][2], 10);
              Trocar[playerid] = 6;
        }
        case 6:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[6][0], CheckPoints[6][1], CheckPoints[6][2], CheckPoints[7][0], CheckPoints[7][1], CheckPoints[7][2], 10);
              Trocar[playerid] = 7;
        }
        case 7:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[7][0], CheckPoints[7][1], CheckPoints[7][2], CheckPoints[8][0], CheckPoints[8][1], CheckPoints[8][2], 10);
              Trocar[playerid] = 8;
        }
        case 8:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[8][0], CheckPoints[8][1], CheckPoints[8][2], CheckPoints[9][0], CheckPoints[9][1], CheckPoints[9][2], 10);
              Trocar[playerid] = 9;
        }
        case 9:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[9][0], CheckPoints[9][1], CheckPoints[9][2], CheckPoints[10][0], CheckPoints[10][1], CheckPoints[10][2], 10);
              Trocar[playerid] = 10;
        }
        case 10:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[10][0], CheckPoints[10][1], CheckPoints[10][2], CheckPoints[11][0], CheckPoints[11][1], CheckPoints[11][2], 10);
              Trocar[playerid] = 11;
        }
        case 11:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[11][0], CheckPoints[11][1], CheckPoints[11][2], CheckPoints[12][0], CheckPoints[12][1], CheckPoints[12][2], 10);
              Trocar[playerid] = 12;
        }
        case 12:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[12][0], CheckPoints[12][1], CheckPoints[12][2], CheckPoints[13][0], CheckPoints[13][1], CheckPoints[13][2], 10);
              Trocar[playerid] = 13;
        }
        case 13:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[13][0], CheckPoints[13][1], CheckPoints[13][2], CheckPoints[14][0], CheckPoints[14][1], CheckPoints[14][2], 10);
              Trocar[playerid] = 14;
        }
        case 14:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[14][0], CheckPoints[14][1], CheckPoints[14][2],CheckPoints[15][0], CheckPoints[15][1], CheckPoints[15][2], 10);
              Trocar[playerid] = 15;
        }
        case 15:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[15][0], CheckPoints[15][1], CheckPoints[15][2], CheckPoints[16][0], CheckPoints[16][1], CheckPoints[16][2], 10);
              Trocar[playerid] = 16;
        }
        case 16:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[16][0], CheckPoints[16][1], CheckPoints[16][2], CheckPoints[17][0], CheckPoints[17][1], CheckPoints[17][2], 10);
              Trocar[playerid] = 17;
        }
        case 17:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[17][0], CheckPoints[17][1], CheckPoints[17][2], CheckPoints[18][0], CheckPoints[18][1], CheckPoints[18][2], 10);
              Trocar[playerid] = 18;
        }
        case 18:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[18][0], CheckPoints[18][1], CheckPoints[18][2], CheckPoints[19][0], CheckPoints[19][1], CheckPoints[19][2], 10);
              Trocar[playerid] = 19;
        }
        case 19:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[19][0], CheckPoints[19][1], CheckPoints[19][2],CheckPoints[20][0], CheckPoints[20][1], CheckPoints[20][2],10);
              Trocar[playerid] = 20;
        }
        case 20:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[20][0], CheckPoints[20][1], CheckPoints[20][2],CheckPoints[21][0], CheckPoints[21][1], CheckPoints[21][2],10)
              Trocar[playerid] = 21;
        }
        case 21:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[21][0], CheckPoints[21][1], CheckPoints[21][2],CheckPoints[22][0], CheckPoints[22][1], CheckPoints[22][2],10)
              Trocar[playerid] = 22;
        }
        case 22:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[22][0], CheckPoints[22][1], CheckPoints[22][2],CheckPoints[23][0], CheckPoints[23][1], CheckPoints[23][2],10)
              Trocar[playerid] = 23;
        }
        case 23:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[23][0], CheckPoints[23][1], CheckPoints[23][2],CheckPoints[24][0], CheckPoints[24][1], CheckPoints[24][2],10)
              Trocar[playerid] = 24;
        }
        case 24:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[24][0], CheckPoints[24][1], CheckPoints[24][2],CheckPoints[25][0], CheckPoints[25][1], CheckPoints[25][2],10)
              Trocar[playerid] = 25;
        }
        case 25:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[25][0], CheckPoints[25][1], CheckPoints[25][2],CheckPoints[26][0], CheckPoints[26][1], CheckPoints[26][2],10)
              Trocar[playerid] = 26;
        }
        case 26:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[26][0], CheckPoints[26][1], CheckPoints[26][2],CheckPoints[27][0], CheckPoints[27][1], CheckPoints[27][2],10)
              Trocar[playerid] = 27;
        }
        case 27:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[27][0], CheckPoints[27][1], CheckPoints[27][2],CheckPoints[28][0], CheckPoints[28][1], CheckPoints[28][2],10)
              Trocar[playerid] = 28;
        }
        case 28:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[28][0], CheckPoints[28][1], CheckPoints[28][2],CheckPoints[29][0], CheckPoints[29][1], CheckPoints[29][2],10)
              Trocar[playerid] = 29;
        }
        case 29:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[29][0], CheckPoints[29][1], CheckPoints[29][2],CheckPoints[30][0], CheckPoints[30][1], CheckPoints[30][2],10)
              Trocar[playerid] = 30;
        }
        case 30:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[30][0], CheckPoints[30][1], CheckPoints[30][2],CheckPoints[31][0], CheckPoints[31][1], CheckPoints[31][2],10)
              Trocar[playerid] = 31;
        }
        case 31:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[31][0], CheckPoints[31][1], CheckPoints[31][2],CheckPoints[32][0], CheckPoints[32][1], CheckPoints[32][2],10)
              Trocar[playerid] = 32;
        }
        case 32:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[32][0], CheckPoints[32][1], CheckPoints[32][2],CheckPoints[33][0], CheckPoints[33][1], CheckPoints[33][2],10)
              Trocar[playerid] = 33;
        }
        case 33:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[33][0], CheckPoints[33][1], CheckPoints[33][2],CheckPoints[34][0], CheckPoints[34][1], CheckPoints[34][2],10)
              Trocar[playerid] = 34;
        }
        case 34:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[34][0], CheckPoints[34][1], CheckPoints[34][2],CheckPoints[35][0], CheckPoints[35][1], CheckPoints[35][2],10)
              Trocar[playerid] = 35;
        }
        case 35:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[35][0], CheckPoints[35][1], CheckPoints[35][2],CheckPoints[36][0], CheckPoints[36][1], CheckPoints[36][2],10)
              Trocar[playerid] = 36;
        }
        case 36:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SetPlayerRaceCheckpoint(playerid, 0, CheckPoints[36][0], CheckPoints[36][1], CheckPoints[36][2], END , END, END,10)
              Trocar[playerid] = 37;
        }
        case 37:
        {
              DisablePlayerRaceCheckpoint(playerid);
              SendClientMessage(playerid,0xFFFFFFAA," Você ganhou a corrida parabéns");
              SendClientMessage(playerid,0x008040AA," e você ganhou 1k ( 1 mil) de grana");
              GivePlayerMoney(playerid, 1000);
        }}
  return 1;
}
 
#endif


Sistema de kart Por CheckPoints Criado Por: Garfield(LoGiN_FaKe)








link do discord do forum:https://discord.gg/BgdmZM4
regulamento:scriptsamp.forumeiros.com/f3-regulamento-da-ssgamers
Meu Servidor da Discord: https://discord.gg/qPfTtgX

Tio_Script
Tio_Script
--> Postador Fanático
--> Postador Fanático

Mensagens : 205
Moedas : 944
Data de inscrição : 07/07/2018
Idade : 21
Localização : new york city

Corrida de checkpoint Simples Empty Re: Corrida de checkpoint Simples

Mensagem por Tio_Script em Ter 11 Jun 2019 - 21:23

estuda!








link do discord do forum:https://discord.gg/BgdmZM4
regulamento:scriptsamp.forumeiros.com/f3-regulamento-da-ssgamers
Meu Servidor da Discord: https://discord.gg/qPfTtgX


Conteúdo patrocinado

Corrida de checkpoint Simples Empty Re: Corrida de checkpoint Simples

Mensagem por Conteúdo patrocinado


    Data/hora atual: Ter 10 Dez 2019 - 17:06

    Copyright © SSGamers 2011/2019 - DIREITOS RESERVADOS PARA COMUNIDADE SSGAMERS S.A.