[Ajuda] Erros
#1

Entгo pessoal , coloquei esse sistema de Evento do Biel_Cop , coloquei tudo em suas devidas publics mais deu alguns erros , ajude-me

Sistema de evento

PHP Code:
// Topo do GM
    
new EmEvento[MAX_PLAYERS];
    new 
TimePVSZ[MAX_PLAYERS];
    new 
RaceRally[MAX_PLAYERS];
    new 
RaceKart[MAX_PLAYERS];
    new 
RaceCorrida[MAX_PLAYERS];
    new 
PontosEventoDm[MAX_PLAYERS];
    new 
ChuckNorris[MAX_PLAYERS];
    
// OnPlayerCommandText
    
if(strcmp(cmd,"/eventos",true) == 0)
    {
        if(
PlayerInfo[playerid][pAdmin] >= 4)
        {
            
ShowPlayerDialog(playerid,5714,DIALOG_STYLE_LIST,"Eventos","Evento PaintBall\nEvento Kart (Paredгo aberto em 30s)\nEvento Rally (Portгo aberto em 30s)\nEvento Policiais VS Zumbis\nEvento Dm\nEvento Corrida (Paredгo aberto em 30s)\nCriar um Evento\nEncerrar o Evento","Escolher","Cancelar");
        }
        return 
1;
    }
    if(
strcmp(cmd,"/sairevento",true) == 0)
    {
        if(
EmEvento[playerid] == 0)
        {
            
SendClientMessageEx(playerid,0xAFAFAFAA,"Vocк nгo estб em nenhum evento!");
            return 
1;
        }
        else
        {
            if(
EmEvento[playerid] == || EmEvento[playerid] == || EmEvento[playerid] == || EmEvento[playerid] == 8)
            {
                
SendClientMessageEx(playerid,0x33CCFFAA,"* Vocк saiu do Evento!");
                
EmEvento[playerid] = 0;
                
RaceKart[playerid] = 0;
                
RaceRally[playerid] = 0;
                
OnPlayerSpawn2(playerid);
                
DisablePlayerRaceCheckpoint(playerid);
            }
            if(
EmEvento[playerid] == 1)
            {
                if(
ChuckNorris[playerid] == 1)
                {
                    
SendClientMessageEx(playerid,0xAFAFAFAA,"Vocк й o ChucK NorriS, portanto nгo pode sair do Evento.");
                }
                else
                {
                    
SendClientMessageEx(playerid,0x33CCFFAA,"* Vocк saiu do Evento!");
                    
EmEvento[playerid] = 0;
                    
ChuckNorris[playerid] = 0;
                    
OnPlayerSpawn2(playerid);
                }
            }
            if(
EmEvento[playerid] == 5)
            {
                
SendClientMessageEx(playerid,0x33CCFFAA,"* Vocк saiu do Evento!");
                
TimePVSZ[playerid] = 0;
                
EmEvento[playerid] = 0;
                
OnPlayerSpawn2(playerid);
            }
            if(
EmEvento[playerid] == 6)
            {
                
SendClientMessageEx(playerid,0x33CCFFAA,"* Vocк saiu do Evento!");
                
PontosEventoDm[playerid] = 0;
                
EmEvento[playerid] = 0;
                
OnPlayerSpawn2(playerid);
            }
        }
        return 
1;
    }
    
// OnDialogResponse
    
if(dialogid == 5714)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
                if(
TendoEvento == 1)
                {
                    
SendClientMessageEx(playerid,0xAFAFAFAA,"Jб estб tendo um Evento!");
                    return 
1;
                }
                
TimerEvento SetTimer("EncerrarEvento",300000,0);
                
TendoEvento 1;
                
EventoTipo 1;
                
SetTimer("FecharEvento",10000,0);
                
PodeIrEvento 1;
                for(new 
i=0i<Maximo_Playersi++)
                {
                    if(
IsPlayerConnected(i) && PlayerInfo[i][pLogged] == && PlayerInfo[i][pJailed] == 0)
                    {
                        
ShowPlayerDialog(i,5715,DIALOG_STYLE_MSGBOX,"Evento PaintBall","Novo evento criado!\n\nNome: Evento PaintBall.\n\nStatus: Aberto.\n\nDeseja participar do Evento PaintBall ?","Participar","Cancelar");
                    }
                }
            }
            if(
listitem == 1)
            {
                if(
TendoEvento == 1)
                {
                    
SendClientMessageEx(playerid,0xAFAFAFAA,"Jб estб tendo um Evento!");
                    return 
1;
                }
                
SetTimer("ParedaoKart",30000,0);
                
TendoEvento 1;
                
EventoTipo 2;
                
SetTimer("FecharEvento",10000,0);
                
PodeIrEvento 1;
                for(new 
i=0i<Maximo_Playersi++)
                {
                    if(
IsPlayerConnected(i) && PlayerInfo[i][pLogged] == && PlayerInfo[i][pJailed] == 0)
                    {
                        
ShowPlayerDialog(i,5715,DIALOG_STYLE_MSGBOX,"Evento Kart","Novo evento criado!\n\nNome: Evento Kart.\n\nStatus: Aberto.\n\nDeseja participar do Evento Kart ?","Participar","Cancelar");
                    }
                }
            }
            if(
listitem == 2)
            {
                if(
TendoEvento == 1)
                {
                    
SendClientMessageEx(playerid,0xAFAFAFAA,"Jб estб tendo um Evento!");
                    return 
1;
                }
                
SetTimer("PortaoRally",30000,0);
                
TendoEvento 1;
                
EventoTipo 4;
                
SetTimer("FecharEvento",10000,0);
                
PodeIrEvento 1;
                for(new 
i=0i<Maximo_Playersi++)
                {
                    if(
IsPlayerConnected(i) && PlayerInfo[i][pLogged] == && PlayerInfo[i][pJailed] == 0)
                    {
                        
ShowPlayerDialog(i,5715,DIALOG_STYLE_MSGBOX,"Evento Rally","Novo evento criado!\n\nNome: Evento Rally.\n\nStatus: Aberto.\n\nDeseja participar do Evento Rally ?","Participar","Cancelar");
                    }
                }
            }
            if(
listitem == 3)
            {
                if(
TendoEvento == 1)
                {
                    
SendClientMessageEx(playerid,0xAFAFAFAA,"Jб estб tendo um Evento!");
                    return 
1;
                }
                
TimerEvento SetTimer("EncerrarEvento",300000,0);
                
TendoEvento 1;
                
EventoTipo 5;
                
SetTimer("FecharEvento",10000,0);
                
PodeIrEvento 1;
                for(new 
i=0i<Maximo_Playersi++)
                {
                    if(
IsPlayerConnected(i) && PlayerInfo[i][pLogged] == && PlayerInfo[i][pJailed] == 0)
                    {
                        
ShowPlayerDialog(i,5715,DIALOG_STYLE_MSGBOX,"Evento Policiais VS Zumbis","Novo evento criado!\n\nNome: Evento Policiais VS Zumbis.\n\nStatus: Aberto.\n\nDeseja participar do Evento Policiais VS Zumbis ?","Participar","Cancelar");
                    }
                }
            }
            if(
listitem == 4)
            {
                if(
TendoEvento == 1)
                {
                    
SendClientMessageEx(playerid,0xAFAFAFAA,"Jб estб tendo um Evento!");
                    return 
1;
                }
                
TimerEvento SetTimer("EncerrarEvento",300000,0);
                
TendoEvento 1;
                
EventoTipo 6;
                
SetTimer("FecharEvento",10000,0);
                
PodeIrEvento 1;
                for(new 
i=0i<Maximo_Playersi++)
                {
                    if(
IsPlayerConnected(i) && PlayerInfo[i][pLogged] == && PlayerInfo[i][pJailed] == 0)
                    {
                        
ShowPlayerDialog(i,5715,DIALOG_STYLE_MSGBOX,"Evento Dm","Novo evento criado!\n\nNome: Evento Dm.\n\nStatus: Aberto.\n\nDeseja participar do Evento Dm ?","Participar","Cancelar");
                    }
                }
            }
            if(
listitem == 5)
            {
                if(
TendoEvento == 1)
                {
                    
SendClientMessageEx(playerid,0xAFAFAFAA,"Jб estб tendo um Evento!");
                    return 
1;
                }
                
SetTimer("ParedaoCorrida",30000,0);
                
TendoEvento 1;
                
EventoTipo 7;
                
SetTimer("FecharEvento",10000,0);
                
PodeIrEvento 1;
                for(new 
i=0i<Maximo_Playersi++)
                {
                    if(
IsPlayerConnected(i) && PlayerInfo[i][pLogged] == && PlayerInfo[i][pJailed] == 0)
                    {
                        
ShowPlayerDialog(i,5715,DIALOG_STYLE_MSGBOX,"Evento Corrida","Novo evento criado!\n\nNome: Evento Corrida.\n\nStatus: Aberto.\n\nDeseja participar do Corrida ?","Participar","Cancelar");
                    }
                }
            }
            if(
listitem == 6)
            {
                if(
TendoEvento == 1)
                {
                    
SendClientMessageEx(playerid,0xAFAFAFAA,"Jб estб tendo um Evento!");
                    return 
1;
                }
                
TendoEvento 1;
                
EventoTipo 8;
                
SetTimer("FecharEvento",10000,0);
                
PodeIrEvento 1;
                new 
Float:Pos[3];
                
GetPlayerPos(playerid,Pos[0],Pos[1],Pos[2]);
                
PosEvento[0] = Pos[0];
                
PosEvento[1] = Pos[1];
                
PosEvento[2] = Pos[2];
                
IntEvento GetPlayerInterior(playerid);
                for(new 
i=0i<Maximo_Playersi++)
                {
                    if(
IsPlayerConnected(i) && PlayerInfo[i][pLogged] == && PlayerInfo[i][pJailed] == 0)
                    {
                        
ShowPlayerDialog(i,5715,DIALOG_STYLE_MSGBOX,"Evento Secreto","Novo evento criado!\n\nNome: Evento Secreto.\n\nStatus: Aberto.\n\nDeseja participar do Evento Secreto ?","Participar","Cancelar");
                    }
                }
            }
            if(
listitem == 7)
            {
                if(
TendoEvento == 0)
                {
                    
SendClientMessageEx(playerid,0xAFAFAFAA,"Nгo estб tendo nenhum evento!");
                    return 
1;
                }
                
EncerrarEvento();
            }
        }
        return 
1;
    }
    if(
dialogid == 5715)
    {
        if(
response)
        {
            if(
PodeIrEvento == 0) { SendClientMessageEx(playerid,0xAFAFAFAA,"Este evento Jб estб Fechado."); return 1; }
            
SetPlayerVirtualWorld(playerid,0);
            if(
EventoTipo == 1)
            {
                new 
Randomico random(2);
                if(
Randomico == 0) { SetPlayerPosEx(playerid,-1131.30001057.70001346.3000,270.0); }
                if(
Randomico == 1) { SetPlayerPosEx(playerid,-974.80001061.00001345.6000,90.0); }
                
SetPlayerInteriorEx(playerid,10);
                
ResetPlayerWeapons(playerid);
                new 
TemChuck 0;
                for(new 
i=0i<Maximo_Playersi++)
                {
                    if(
IsPlayerConnected(i))
                    {
                        if(
ChuckNorris[i] == 1)
                        {
                            
TemChuck 1;
                        }
                    }
                }
                if(
TemChuck == 0)
                {
                    
EmEvento[playerid] = 1;
                    
ChuckNorris[playerid] = 1;
                    
SetPlayerColor(playerid,0xAA3333AA);
                    
format(gstring,sizeof(gstring),"Evento PaintBall: Player %s veio primeiro ao Evento e se tornou o ChucK NorriS!",PlayerName(playerid));
                    
SendClientMessageToAllEx(0xAA3333AA,gstring);
                    
SetPlayerSkin(playerid,264);
                    
EquiparVidaColete(playerid,200.0);
                    
GivePlayerWeapon(playerid,26,100000);
                    
GivePlayerWeapon(playerid,38,100000);
                }
                else
                {
                    
SetPlayerColor(playerid,0xFFFFFFAA);
                    
EmEvento[playerid] = 1;
                    
EquiparVidaColete(playerid,100.0);
                    
GivePlayerWeapon(playerid,24,210);
                    
GivePlayerWeapon(playerid,25,100);
                    
GivePlayerWeapon(playerid,29,300);
                    
GivePlayerWeapon(playerid,31,500);
                    if(
PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid,34); }
                    else { 
SetPlayerSkin(playerid,131); }
                }
                
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: Tente matar o ChucK NorriS, pois o vencedor do Evento serб ele!");
                
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: Caso vocк o mate, vocк terб chances de Ganhar!");
            }
            if(
EventoTipo == 2)
            {
                
EmEvento[playerid] = 2;
                
RaceKart[playerid] = 1;
                
SetPlayerRaceCheckpoint(playerid,0,-2462.8525,2235.9631,4.0823,-2503.5444,2419.3733,16.1720,2.0);
                
SetPlayerPosEx(playerid,-2415.39992219.00834.9844,270.0);
                
SetPlayerInteriorEx(playerid,0);
                
EquiparVidaColete(playerid,100.0);
                
ResetPlayerWeapons(playerid);
                
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: Entre em um Kart e espere o paredгo abrir!");
                
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: O seu destino serб o Topo de San Fierro!");
            }
            if(
EventoTipo == 4)
            {
                
EmEvento[playerid] = 4;
                
RaceRally[playerid] = 1;
                
SetPlayerRaceCheckpoint(playerid,0,-2334.0168,-2179.4294,35.0986,-2210.7705,-2093.1563,76.2035,2.0);
                
SetPlayerPosEx(playerid,-2378.5000, -2197.200033.2000,270.0);
                
SetPlayerInteriorEx(playerid,0);
                
EquiparVidaColete(playerid,100.0);
                
ResetPlayerWeapons(playerid);
                
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: Entre em uma Sanchez e espere o portгo abrir!");
                
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: O seu destino serб o topo do monte!");
            }
            if(
EventoTipo == 5)
            {
                
ShowPlayerDialog(playerid,5716,DIALOG_STYLE_MSGBOX,"Time","Escolha o time que deseja ser","Policiais","Zumbis");
            }
            if(
EventoTipo == 6)
            {
                
EmEvento[playerid] = 6;
                new 
Randomico random(2);
                if(
Randomico == 0) { SetPlayerPosEx(playerid,2976.65,-3875.98,443.90,0.0); }
                if(
Randomico == 1) { SetPlayerPosEx(playerid,3058.26,-3867.20,446.10,0.0); }
                
SetPlayerInteriorEx(playerid,0);
                
EquiparVidaColete(playerid,100.0);
                
ResetPlayerWeapons(playerid);
                
GivePlayerWeapon(playerid,24,100000);
                
GivePlayerWeapon(playerid,25,100000);
                
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: Extermine todos que cruzarem o seu caminho!");
            }
            if(
EventoTipo == 7)
            {
                
EmEvento[playerid] = 7;
                
RaceCorrida[playerid] = 1;
                
SetPlayerRaceCheckpoint(playerid,0,1477.6807,1663.9116,10.5396,1481.3105,1470.5520,10.5542,3.0);
                
SetPlayerPosEx(playerid,1482.3693,1794.4214,10.8125,180.0);
                
SetPlayerInteriorEx(playerid,0);
                
EquiparVidaColete(playerid,100.0);
                
ResetPlayerWeapons(playerid);
                
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: Entre em um veнculo e espere o paredгo abrir.");
                
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: O seu destino serб o Fim do Aeroporto.");
            }
            if(
EventoTipo == 8)
            {
                
EmEvento[playerid] = 8;
                
SetPlayerPos(playerid,PosEvento[0],PosEvento[1],PosEvento[2]);
                
SetPlayerInteriorEx(playerid,IntEvento);
                
EquiparVidaColete(playerid,100.0);
                
ResetPlayerWeapons(playerid);
            }
        }
        return 
1;
    }
    if(
dialogid == 5716)
    {
        
EmEvento[playerid] = 5;
        if(
response)
        {
            
TimePVSZ[playerid] = 1;
            if(
PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid,286); }
            else { 
SetPlayerSkin(playerid,263); }
            
SetPlayerColor(playerid,0x0C1784AA);
            
SetPlayerPosEx(playerid,2220.5000, -1147.80001025.6000,0.0);
            
SetPlayerInteriorEx(playerid,15);
            
EquiparVidaColete(playerid,100.0);
            
ResetPlayerWeapons(playerid);
            
GivePlayerWeapon(playerid,24,210);
            
GivePlayerWeapon(playerid,25,100);
            
GivePlayerWeapon(playerid,29,300);
            
GivePlayerWeapon(playerid,31,500);
            
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: Todos os Zumbis tentarгo te matar, portanto mate-os antes que isto aconteзa!");
        }
        else
        {
            
TimePVSZ[playerid] = 2;
            if(
PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid,162); }
            else { 
SetPlayerSkin(playerid,199); }
            
SetPlayerColor(playerid,0x681D26AA);
            
SetPlayerPosEx(playerid,2199.0000, -1140.10001029.7000,90.0);
            
SetPlayerInteriorEx(playerid,15);
            
EquiparVidaColete(playerid,100.0);
            
ResetPlayerWeapons(playerid);
            
GivePlayerWeapon(playerid,24,210);
            
GivePlayerWeapon(playerid,25,100);
            
GivePlayerWeapon(playerid,29,300);
            
GivePlayerWeapon(playerid,31,500);
            
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: Todos os Policiais tentarгo te matar, portanto mate-os antes que isto aconteзa!");
        }
        return 
1;
    }
    
// OnPlayerSpawn (TOPO)
    
if(EmEvento[playerid] >= 1)
    {
        if(
EmEvento[playerid] == || EmEvento[playerid] == || EmEvento[playerid] == || EmEvento[playerid] == 8)
        {
            
SendClientMessageEx(playerid,0xA92BAAAA,"Evento: Vocк saiu do Evento!");
            
EmEvento[playerid] = 0;
            
SetTimerEx("OnPlayerSpawn2",500,0,"i",playerid);
            return 
1;
        }
        if(
EmEvento[playerid] == 1)
        {
            new 
Randomico random(2);
            if(
Randomico == 0) { SetPlayerPosEx(playerid,-1131.30001057.70001346.3000,270.0); }
            if(
Randomico == 1) { SetPlayerPosEx(playerid,-974.80001061.00001345.6000,90.0); }
            
SetPlayerInteriorEx(playerid,10);
            
ResetPlayerWeapons(playerid);
            new 
TemChuck 0;
            for(new 
i=0i<Maximo_Playersi++)
            {
                if(
IsPlayerConnected(i))
                {
                    if(
ChuckNorris[i] == 1)
                    {
                        
TemChuck 1;
                    }
                }
            }
            if(
TemChuck == 0)
            {
                
EmEvento[playerid] = 1;
                
ChuckNorris[playerid] = 1;
                
SetPlayerColor(playerid,0xAA3333AA);
                
format(gstring,sizeof(gstring),"Evento PaintBall: Player %s se tornou o ChucK NorriS!",PlayerName(playerid));
                
SendClientMessageToAllEx(0xAA3333AA,gstring);
                
SetPlayerSkin(playerid,264);
                
EquiparVidaColete(playerid,200.0);
                
GivePlayerWeapon(playerid,26,100000);
                
GivePlayerWeapon(playerid,38,100000);
            }
            else
            {
                if(
ChuckNorris[playerid] == 1)
                {
                    
SetPlayerColor(playerid,0xAA3333AA);
                    
format(gstring,sizeof(gstring),"Evento PaintBall: Player %s se tornou ChucK NorriS!",PlayerName(playerid));
                    
SendClientMessageToAllEx(0xAA3333AA,gstring);
                    
SetPlayerSkin(playerid,264);
                    
EquiparVidaColete(playerid,200.0);
                    
GivePlayerWeapon(playerid,26,100000);
                    
GivePlayerWeapon(playerid,38,100000);
                }
                else
                {
                    
SetPlayerColor(playerid,0xFFFFFFAA);
                    
EmEvento[playerid] = 1;
                    
EquiparVidaColete(playerid,100.0);
                    
GivePlayerWeapon(playerid,24,210);
                    
GivePlayerWeapon(playerid,25,100);
                    
GivePlayerWeapon(playerid,29,300);
                    
GivePlayerWeapon(playerid,31,500);
                    if(
PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid,34); }
                    else { 
SetPlayerSkin(playerid,131); }
                }
            }
            
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: Tente matar o ChucK NorriS, pois o vencedor do Evento serб ele!");
            
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: Caso vocк o mate, vocк terб chances de Ganhar!");
            return 
1;
        }
        if(
EmEvento[playerid] == 5)
        {
            if(
TimePVSZ[playerid] == 1)
            {
                if(
PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid,286); }
                else { 
SetPlayerSkin(playerid,263); }
                
SetPlayerColor(playerid,0x0C1784AA);
                
SetPlayerPosEx(playerid,2220.5000, -1147.80001025.6000,0.0);
                
SetPlayerInteriorEx(playerid,15);
                
EquiparVidaColete(playerid,100.0);
                
ResetPlayerWeapons(playerid);
                
GivePlayerWeapon(playerid,24,210);
                
GivePlayerWeapon(playerid,25,100);
                
GivePlayerWeapon(playerid,29,300);
                
GivePlayerWeapon(playerid,31,500);
                
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: Todos os Zumbis tentarгo te matar, portanto mate-os antes que isto aconteзa!");
            }
            if(
TimePVSZ[playerid] == 2)
            {
                if(
PlayerInfo[playerid][pSex] == 1) { SetPlayerSkin(playerid,162); }
                else { 
SetPlayerSkin(playerid,199); }
                
SetPlayerColor(playerid,0x681D26AA);
                
SetPlayerPosEx(playerid,2199.0000, -1140.10001029.7000,90.0);
                
SetPlayerInteriorEx(playerid,15);
                
EquiparVidaColete(playerid,100.0);
                
ResetPlayerWeapons(playerid);
                
GivePlayerWeapon(playerid,24,210);
                
GivePlayerWeapon(playerid,25,100);
                
GivePlayerWeapon(playerid,29,300);
                
GivePlayerWeapon(playerid,31,500);
                
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: Todos os Policiais tentarгo te matar, portanto mate-os antes que isto aconteзa!");
            }
            return 
1;
        }
        if(
EmEvento[playerid] == 6)
        {
            new 
Randomico random(2);
            if(
Randomico == 0) { SetPlayerPosEx(playerid,2976.65,-3875.98,443.90,0.0); }
            if(
Randomico == 1) { SetPlayerPosEx(playerid,3058.26,-3867.20,446.10,0.0); }
            
SetPlayerInteriorEx(playerid,0);
            
EquiparVidaColete(playerid,100.0);
            
ResetPlayerWeapons(playerid);
            
GivePlayerWeapon(playerid,24,100000);
            
GivePlayerWeapon(playerid,25,100000);
            
SendClientMessageEx(playerid,0x33CCFFAA,"Observaзхes: Extermine todos que cruzarem o seu caminho!");
            return 
1;
        }
    }
    
// OnPlayerDeath (TOPO)
        
if(EmEvento[killerid] == && EmEvento[playerid] == 1)
        {
            if(
ChuckNorris[playerid] == 1)
            {
                new 
Float:slxFloat:slyFloat:slz;
                
GetPlayerPos(killeridslxslyslz);
                
SetPlayerPos(killeridslxslyslz+1);
                
SetPlayerColor(killerid,0xAA3333AA);
                
ChuckNorris[playerid] = 0;
                
ChuckNorris[killerid] = 1;
                
format(Fala2,sizeof(Fala2),"Player %s matou o ChucK NorriS %s no Evento PaintBall e recebeu 10000$!",PlayerName(killerid),PlayerName(playerid));
                
SendClientMessageToAllEx(0xAA3333AA,Fala2);
                
GivePlayerMoneyEx(killerid,10000);
                
ResetPlayerWeapons(killerid);
                
SetPlayerSkin(killerid,264);
                
EquiparVidaColete(killerid,200.0);
                
GivePlayerWeapon(killerid,26,100000);
                
GivePlayerWeapon(killerid,38,100000);
                return 
1;
            }
            
format(Fala2,sizeof(Fala2),"Player %s matou %s no Evento PaintBall e recebeu 1000$!",PlayerName(killerid),PlayerName(playerid));
            
SendClientMessageToAllEx(0xF5DEB3AA,Fala2);
            
GivePlayerMoneyEx(killerid,1000);
            return 
1;
        }
        if(
EmEvento[killerid] == && EmEvento[playerid] == 5)
        {
            if(
TimePVSZ[killerid] == TimePVSZ[playerid])
            {
                
EmEvento[killerid] = 0;
                
SendClientMessageEx(killerid,0xA92BAAAA,"Vocк Foi expulso do Evento por matar um membro da sua Equipe!");
                
OnPlayerSpawn2(killerid);
                return 
1;
            }
            if(
TimePVSZ[killerid] == 1)
            {
                
TimePVSZ[playerid] = 1;
                
format(Fala2,sizeof(Fala2),"Policial %s matou %s no Evento Policiais VS Zumbis e recebeu 1000$!",PlayerName(killerid),PlayerName(playerid));
                
SendClientMessageToAllEx(0xF5DEB3AA,Fala2);
                
GivePlayerMoneyEx(killerid,1000);
                new 
Zumbis 0;
                for(new 
i=0i<Maximo_Playersi++)
                {
                    if(
IsPlayerConnected(i))
                    {
                        if(
TimePVSZ[i] == 2)
                        {
                            
Zumbis++;
                        }
                    }
                }
                if(
Zumbis == 0)
                {
                    
EncerrarEvento();
                }
                return 
1;
            }
            if(
TimePVSZ[killerid] == 2)
            {
                
TimePVSZ[playerid] = 2;
                
format(Fala2,sizeof(Fala2),"Zumbi %s matou %s no Evento Policiais VS Zumbis e recebeu 1000$!",PlayerName(killerid),PlayerName(playerid));
                
SendClientMessageToAllEx(0xF5DEB3AA,Fala2);
                
GivePlayerMoneyEx(killerid,1000);
                new 
Policiais 0;
                for(new 
i=0i<Maximo_Playersi++)
                {
                    if(
IsPlayerConnected(i))
                    {
                        if(
TimePVSZ[i] == 1)
                        {
                            
Policiais++;
                        }
                    }
                }
                if(
Policiais == 0)
                {
                    
EncerrarEvento();
                }
            }
            return 
1;
        }
        if(
EmEvento[killerid] == && EmEvento[playerid] == 6)
        {
            
format(Fala2,sizeof(Fala2),"Player %s matou %s no Evento Dm e recebeu 1000$!",PlayerName(killerid),PlayerName(playerid));
            
SendClientMessageToAllEx(0xF5DEB3AA,Fala2);
            
GivePlayerMoneyEx(killerid,1000);
            
PontosEventoDm[killerid]++;
            
PontosEventoDm[playerid]--;
            return 
1;
        }
        
// OnPlayerEnterRaceCheckpoint
        
if(InPoint(playerid,2.0,-2462.8525,2235.9631,4.0823))
    {
        if(
RaceKart[playerid] == 1)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2503.5444,2419.3733,16.1720,-2632.3257,2503.8589,27.8125,2.0);
            
RaceKart[playerid] = 2;
        }
    }
    if(
InPoint(playerid,2.0,-2503.5444,2419.3733,16.1720))
    {
        if(
RaceKart[playerid] == 2)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2632.3257,2503.8589,27.8125,-2696.0615,2398.2771,59.7853,2.0);
            
RaceKart[playerid] = 3;
        }
    }
    if(
InPoint(playerid,2.0,-2632.3257,2503.8589,27.8125))
    {
        if(
RaceKart[playerid] == 3)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2696.0615,2398.2771,59.7853,-2695.4272,2244.7717,54.7136,2.0);
            
RaceKart[playerid] = 4;
        }
    }
    if(
InPoint(playerid,2.0,-2696.0615,2398.2771,59.7853))
    {
        if(
RaceKart[playerid] == 4)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2695.4272,2244.7717,54.7136,-2675.7957,1918.4843,64.0308,2.0);
            
RaceKart[playerid] = 5;
        }
    }
    if(
InPoint(playerid,2.0,-2695.4272,2244.7717,54.7136))
    {
        if(
RaceKart[playerid] == 5)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2675.7957,1918.4843,64.0308,-2673.8167,1691.0934,66.6080,2.0);
            
RaceKart[playerid] = 6;
        }
    }
    if(
InPoint(playerid,2.0,-2675.7957,1918.4843,64.0308))
    {
        if(
RaceKart[playerid] == 6)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2673.8167,1691.0934,66.6080,-2675.3142,1476.9149,55.7172,2.0);
            
RaceKart[playerid] = 7;
        }
    }
    if(
InPoint(playerid,2.0,-2673.8167,1691.0934,66.6080))
    {
        if(
RaceKart[playerid] == 7)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2675.3142,1476.9149,55.7172,-2672.4468,1308.3007,54.7121,2.0);
            
RaceKart[playerid] = 8;
        }
    }
    if(
InPoint(playerid,2.0,-2675.3142,1476.9149,55.7172))
    {
        if(
RaceKart[playerid] == 8)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2672.4468,1308.3007,54.7121,-2603.4648,1141.4210,54.7133,2.0);
            
RaceKart[playerid] = 9;
        }
    }
    if(
InPoint(playerid,2.0,-2672.4468,1308.3007,54.7121))
    {
        if(
RaceKart[playerid] == 9)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2603.4648,1141.4210,54.7133,-2426.2244,1106.9862,54.8620,2.0);
            
RaceKart[playerid] = 10;
        }
    }
    if(
InPoint(playerid,2.0,-2603.4648,1141.4210,54.7133))
    {
        if(
RaceKart[playerid] == 10)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2426.2244,1106.9862,54.8620,-2221.6218,1057.0817,54.8684,2.0);
            
RaceKart[playerid] = 11;
        }
    }
    if(
InPoint(playerid,2.0,-2426.2244,1106.9862,54.8620))
    {
        if(
RaceKart[playerid] == 11)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2221.6218,1057.0817,54.8684,-1980.7308,1056.9453,54.8542,2.0);
            
RaceKart[playerid] = 12;
        }
    }
    if(
InPoint(playerid,2.0,-2221.6218,1057.0817,54.8684))
    {
        if(
RaceKart[playerid] == 12)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-1980.7308,1056.9453,54.8542,-1894.5901,958.6902,34.3073,2.0);
            
RaceKart[playerid] = 13;
        }
    }
    if(
InPoint(playerid,2.0,-1980.7308,1056.9453,54.8542))
    {
        if(
RaceKart[playerid] == 13)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-1894.5901,958.6902,34.3073,-1729.5731,930.7766,24.0261,2.0);
            
RaceKart[playerid] = 14;
        }
    }
    if(
InPoint(playerid,2.0,-1894.5901,958.6902,34.3073))
    {
        if(
RaceKart[playerid] == 14)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-1729.5731,930.7766,24.0261,-1558.7433,779.1626,6.3229,2.0);
            
RaceKart[playerid] = 15;
        }
    }
    if(
InPoint(playerid,2.0,-1729.5731,930.7766,24.0261))
    {
        if(
RaceKart[playerid] == 15)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-1558.7433,779.1626,6.3229,-1562.0865,543.9257,6.3151,2.0);
            
RaceKart[playerid] = 16;
        }
    }
    if(
InPoint(playerid,2.0,-1558.7433,779.1626,6.3229))
    {
        if(
RaceKart[playerid] == 16)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-1562.0865,543.9257,6.3151,-1711.1312,341.4482,6.3151,2.0);
            
RaceKart[playerid] = 17;
        }
    }
    if(
InPoint(playerid,2.0,-1562.0865,543.9257,6.3151))
    {
        if(
RaceKart[playerid] == 17)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-1711.1312,341.4482,6.3151,-1807.1177,117.3252,14.2448,2.0);
            
RaceKart[playerid] = 18;
        }
    }
    if(
InPoint(playerid,2.0,-1711.1312,341.4482,6.3151))
    {
        if(
RaceKart[playerid] == 18)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-1807.1177,117.3252,14.2448,-1798.7985,-115.6014,4.7870,2.0);
            
RaceKart[playerid] = 19;
        }
    }
    if(
InPoint(playerid,2.0,-1807.1177,117.3252,14.2448))
    {
        if(
RaceKart[playerid] == 19)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-1798.7985,-115.6014,4.7870,-1799.5402,-301.5402,24.0745,2.0);
            
RaceKart[playerid] = 20;
        }
    }
    if(
InPoint(playerid,2.0,-1798.7985,-115.6014,4.7870))
    {
        if(
RaceKart[playerid] == 20)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-1799.5402,-301.5402,24.0745,-1820.3761,-547.4900,15.3029,2.0);
            
RaceKart[playerid] = 21;
        }
    }
    if(
InPoint(playerid,2.0,-1799.5402,-301.5402,24.0745))
    {
        if(
RaceKart[playerid] == 21)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-1820.3761,-547.4900,15.3029,-2036.7983,-579.4214,27.5013,2.0);
            
RaceKart[playerid] = 22;
        }
    }
    if(
InPoint(playerid,2.0,-1820.3761,-547.4900,15.3029))
    {
        if(
RaceKart[playerid] == 22)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2036.7983,-579.4214,27.5013,-2199.1077,-471.8448,48.8217,2.0);
            
RaceKart[playerid] = 23;
        }
    }
    if(
InPoint(playerid,2.0,-2036.7983,-579.4214,27.5013))
    {
        if(
RaceKart[playerid] == 23)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2199.1077,-471.8448,48.8217,-2250.3455,-701.8167,65.8149,2.0);
            
RaceKart[playerid] = 24;
        }
    }
    if(
InPoint(playerid,2.0,-2199.1077,-471.8448,48.8217))
    {
        if(
RaceKart[playerid] == 24)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2250.3455,-701.8167,65.8149,-2354.2202,-767.9820,95.8729,2.0);
            
RaceKart[playerid] = 25;
        }
    }
    if(
InPoint(playerid,2.0,-2250.3455,-701.8167,65.8149))
    {
        if(
RaceKart[playerid] == 25)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2354.2202,-767.9820,95.8729,-2421.5325,-612.2751,132.1338,2.0);
            
RaceKart[playerid] = 26;
        }
    }
    if(
InPoint(playerid,2.0,-2354.2202,-767.9820,95.8729))
    {
        if(
RaceKart[playerid] == 26)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2421.5325,-612.2751,132.1338,-2516.2263,-611.9857,132.1340,2.0);
            
RaceKart[playerid] = 27;
        }
    }
    if(
InPoint(playerid,2.0,-2421.5325,-612.2751,132.1338))
    {
        if(
RaceKart[playerid] == 27)
        {
            
SetPlayerRaceCheckpoint(playerid,1,-2516.2263,-611.9857,132.1340,-2516.2263,-611.9857,132.1340,2.0);
            
RaceKart[playerid] = 28;
        }
    }
    if(
InPoint(playerid,2.0,-2516.2263,-611.9857,132.1340))
    {
        if(
RaceKart[playerid] == 28)
        {
            
RaceKart[playerid] = 0;
            
format(gstring,sizeof(gstring),"Evento Kart: Player %s Ganhou o Evento Kart e recebeu 5 pontos de respeito!",PlayerName(playerid));
            
SendClientMessageToAllEx(0xAA3333AA,gstring);
            
SendClientMessageEx(playerid,0x33CCFFAA,"* Vocк venceu o Evento Kart, parabйns!");
            
PlayerInfo[playerid][pExp] += 5;
            
EncerrarEvento();
        }
    }
    if(
InPoint(playerid,2.0,-2334.0168,-2179.4294,35.0986))
    {
        if(
RaceRally[playerid] == 1)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2210.7705,-2093.1563,76.2035,-2122.3057,-1960.0593,98.5634,2.0);
            
RaceRally[playerid] = 2;
        }
    }
    if(
InPoint(playerid,2.0,-2210.7705,-2093.1563,76.2035))
    {
        if(
RaceRally[playerid] == 2)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2122.3057,-1960.0593,98.5634,-2152.0684,-1970.7133,118.0396,2.0);
            
RaceRally[playerid] = 3;
        }
    }
    if(
InPoint(playerid,2.0,-2122.3057,-1960.0593,98.5634))
    {
        if(
RaceRally[playerid] == 3)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2152.0684,-1970.7133,118.0396,-2412.9336,-2094.9407,120.3831,2.0);
            
RaceRally[playerid] = 4;
        }
    }
    if(
InPoint(playerid,2.0,-2152.0684,-1970.7133,118.0396))
    {
        if(
RaceRally[playerid] == 4)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2412.9336,-2094.9407,120.3831,-2493.8423,-2029.9344,152.9363,2.0);
            
RaceRally[playerid] = 5;
        }
    }
    if(
InPoint(playerid,2.0,-2412.9336,-2094.9407,120.3831))
    {
        if(
RaceRally[playerid] == 5)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2493.8423,-2029.9344,152.9363,-2487.1853,-2042.7384,147.3006,2.0);
            
RaceRally[playerid] = 6;
        }
    }
    if(
InPoint(playerid,2.0,-2493.9275,-2030.9475,152.5451))
    {
        if(
RaceRally[playerid] == 6)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2538.2327,-1949.5692,180.8731,-2637.9731,-1819.4309,223.9609,2.0);
            
RaceRally[playerid] = 7;
        }
    }
    if(
InPoint(playerid,2.0,-2538.2327,-1949.5692,180.8731))
    {
        if(
RaceRally[playerid] == 7)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2637.9731,-1819.4309,223.9609,-2599.3738,-1800.0067,263.1977,2.0);
            
RaceRally[playerid] = 8;
        }
    }
    if(
InPoint(playerid,2.0,-2637.9731,-1819.4309,223.9609))
    {
        if(
RaceRally[playerid] == 8)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2599.3738,-1800.0067,263.1977,-2516.8794,-1879.8741,298.8398,2.0);
            
RaceRally[playerid] = 9;
        }
    }
    if(
InPoint(playerid,2.0,-2599.3738,-1800.0067,263.1977))
    {
        if(
RaceRally[playerid] == 9)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2516.8794,-1879.8741,298.8398,-2603.3723,-1669.1973,335.7126,2.0);
            
RaceRally[playerid] = 10;
        }
    }
    if(
InPoint(playerid,2.0,-2516.8794,-1879.8741,298.8398))
    {
        if(
RaceRally[playerid] == 10)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2603.3723,-1669.1973,335.7126,-2540.2649,-1776.2225,380.4261,2.0);
            
RaceRally[playerid] = 11;
        }
    }
    if(
InPoint(playerid,2.0,-2603.3723,-1669.1973,335.7126))
    {
        if(
RaceRally[playerid] == 11)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2540.2649,-1776.2225,380.4261,-2533.2354,-1695.8889,401.2383,2.0);
            
RaceRally[playerid] = 12;
        }
    }
    if(
InPoint(playerid,2.0,-2540.2649,-1776.2225,380.4261))
    {
        if(
RaceRally[playerid] == 12)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2533.2354,-1695.8889,401.2383,-2448.2961,-1769.3730,418.2056,2.0);
            
RaceRally[playerid] = 13;
        }
    }
    if(
InPoint(playerid,2.0,-2533.2354,-1695.8889,401.2383))
    {
        if(
RaceRally[playerid] == 13)
        {
            
SetPlayerRaceCheckpoint(playerid,0,-2448.2961,-1769.3730,418.2056,-2284.2974,-1711.3079,475.2811,2.0);
            
RaceRally[playerid] = 14;
        }
    }
    if(
InPoint(playerid,2.0,-2448.2961,-1769.3730,418.2056))
    {
        if(
RaceRally[playerid] == 14)
        {
            
SetPlayerRaceCheckpoint(playerid,1,-2284.2974,-1711.3079,475.2811,-2284.2974,-1711.3079,475.2811,2.0);
            
RaceRally[playerid] = 15;
        }
    }
    if(
InPoint(playerid,2.0,-2284.2974,-1711.3079,475.2811))
    {
        if(
RaceRally[playerid] == 15)
        {
            
RaceRally[playerid] = 0;
            
format(gstring,sizeof(gstring),"Evento Rally: Player %s Ganhou o Evento Rally e recebeu 100000$!",PlayerName(playerid));
            
SendClientMessageToAllEx(0xAA3333AA,gstring);
            
SendClientMessageEx(playerid,0x33CCFFAA,"* Vocк venceu o Evento Rally, parabйns!");
            
GivePlayerMoneyEx(playerid,100000);
            
EncerrarEvento();
        }
    }
    if(
InPoint(playerid,3.0,1477.6807,1663.9116,10.5396))
    {
        if(
RaceCorrida[playerid] == 1)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1481.3105,1470.5520,10.5542,1468.0823,1277.5289,10.5474,3.0);
            
RaceCorrida[playerid] = 2;
        }
    }
    if(
InPoint(playerid,3.0,1481.3105,1470.5520,10.5542))
    {
        if(
RaceCorrida[playerid] == 2)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1468.0823,1277.5289,10.5474,1430.3331,1265.8385,10.5474,3.0);
            
RaceCorrida[playerid] = 3;
        }
    }
    if(
InPoint(playerid,3.0,1468.0823,1277.5289,10.5474))
    {
        if(
RaceCorrida[playerid] == 3)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1430.3331,1265.8385,10.5474,1389.8778,1364.8430,10.5474,3.0);
            
RaceCorrida[playerid] = 4;
        }
    }
    if(
InPoint(playerid,3.0,1430.3331,1265.8385,10.5474))
    {
        if(
RaceCorrida[playerid] == 4)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1389.8778,1364.8430,10.5474,1388.1614,1569.3370,10.5397,3.0);
            
RaceCorrida[playerid] = 5;
        }
    }
    if(
InPoint(playerid,3.0,1389.8778,1364.8430,10.5474))
    {
        if(
RaceCorrida[playerid] == 5)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1388.1614,1569.3370,10.5397,1407.4756,1724.1185,10.5474,3.0);
            
RaceCorrida[playerid] = 6;
        }
    }
    if(
InPoint(playerid,3.0,1388.1614,1569.3370,10.5397))
    {
        if(
RaceCorrida[playerid] == 6)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1407.4756,1724.1185,10.5474,1474.0131,1713.0472,10.5396,3.0);
            
RaceCorrida[playerid] = 7;
        }
    }
    if(
InPoint(playerid,3.0,1407.4756,1724.1185,10.5474))
    {
        if(
RaceCorrida[playerid] == 7)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1474.0131,1713.0472,10.5396,1436.5045,1465.9950,10.5474,3.0);
            
RaceCorrida[playerid] = 8;
        }
    }
    if(
InPoint(playerid,3.0,1407.4756,1724.1185,10.5474))
    {
        if(
RaceCorrida[playerid] == 8)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1436.5045,1465.9950,10.5474,1392.3375,1330.1356,10.5474,3.0);
            
RaceCorrida[playerid] = 9;
        }
    }
    if(
InPoint(playerid,3.0,1436.5045,1465.9950,10.5474))
    {
        if(
RaceCorrida[playerid] == 9)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1392.3375,1330.1356,10.5474,1426.5076,1258.6139,10.5474,3.0);
            
RaceCorrida[playerid] = 10;
        }
    }
    if(
InPoint(playerid,3.0,1392.3375,1330.1356,10.5474))
    {
        if(
RaceCorrida[playerid] == 10)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1426.5076,1258.6139,10.5474,1482.5559,1376.8690,10.5475,3.0);
            
RaceCorrida[playerid] = 11;
        }
    }
    if(
InPoint(playerid,3.0,1426.5076,1258.6139,10.5474))
    {
        if(
RaceCorrida[playerid] == 11)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1482.5559,1376.8690,10.5475,1445.2118,1457.4128,10.5474,3.0);
            
RaceCorrida[playerid] = 12;
        }
    }
    if(
InPoint(playerid,3.0,1482.5559,1376.8690,10.5475))
    {
        if(
RaceCorrida[playerid] == 12)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1445.2118,1457.4128,10.5474,1385.3698,1573.4449,10.5396,3.0);
            
RaceCorrida[playerid] = 13;
        }
    }
    if(
InPoint(playerid,3.0,1445.2118,1457.4128,10.5474))
    {
        if(
RaceCorrida[playerid] == 13)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1385.3698,1573.4449,10.5396,1393.0732,1666.4143,10.5480,3.0);
            
RaceCorrida[playerid] = 14;
        }
    }
    if(
InPoint(playerid,3.0,1385.3698,1573.4449,10.5396))
    {
        if(
RaceCorrida[playerid] == 14)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1393.0732,1666.4143,10.5480,1420.7394,1729.0022,10.5474,3.0);
            
RaceCorrida[playerid] = 15;
        }
    }
    if(
InPoint(playerid,3.0,1393.0732,1666.4143,10.5480))
    {
        if(
RaceCorrida[playerid] == 15)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1420.7394,1729.0022,10.5474,1474.6156,1619.1014,10.5397,3.0);
            
RaceCorrida[playerid] = 16;
        }
    }
    if(
InPoint(playerid,3.0,1420.7394,1729.0022,10.5474))
    {
        if(
RaceCorrida[playerid] == 16)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1474.6156,1619.1014,10.5397,1474.4353,1416.2540,10.5475,3.0);
            
RaceCorrida[playerid] = 17;
        }
    }
    if(
InPoint(playerid,3.0,1474.6156,1619.1014,10.5397))
    {
        if(
RaceCorrida[playerid] == 17)
        {
            
SetPlayerRaceCheckpoint(playerid,0,1474.4353,1416.2540,10.5475,1474.9348,1250.2465,10.5475,3.0);
            
RaceCorrida[playerid] = 18;
        }
    }
    if(
InPoint(playerid,3.0,1474.4353,1416.2540,10.5475))
    {
        if(
RaceCorrida[playerid] == 18)
        {
            
SetPlayerRaceCheckpoint(playerid,1,1470.2533,1078.3385,10.5474,1470.2533,1078.3385,10.5474,3.0);
            
RaceCorrida[playerid] = 19;
        }
    }
    if(
InPoint(playerid,3.0,1470.2533,1078.3385,10.5474))
    {
        if(
RaceCorrida[playerid] == 19)
        {
            
RaceCorrida[playerid] = 0;
            
format(gstring,sizeof(gstring),"Evento Corrida: Player %s Ganhou o Evento Corrida e recebeu 50000$ e 2 pontos de respeito!",PlayerName(playerid));
            
SendClientMessageToAllEx(0xAA3333AA,gstring);
            
SendClientMessageEx(playerid,0x33CCFFAA,"* Vocк venceu o Evento Corrida, parabйns!");
            
GivePlayerMoneyEx(playerid,50000);
            
PlayerInfo[playerid][pExp] += 2;
            
EncerrarEvento();
        }
    } 
Os erros

PHP Code:
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4272) : error 017undefined symbol "TendoEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4277) : error 017undefined symbol "TimerEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4278) : error 017undefined symbol "TendoEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4278) : warning 215expression has no effect
C
:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4279) : error 017undefined symbol "EventoTipo"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4279) : warning 215expression has no effect
C
:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4282) : error 017undefined symbol "PodeIrEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4282) : warning 215expression has no effect
C
:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4284) : error 017undefined symbol "Maximo_Players"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4286) : error 017undefined symbol "pLogged"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4294) : error 017undefined symbol "TendoEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4300) : error 017undefined symbol "TendoEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4300) : warning 215expression has no effect
C
:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4301) : error 017undefined symbol "EventoTipo"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4301) : warning 215expression has no effect
C
:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4304) : error 017undefined symbol "PodeIrEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4304) : warning 215expression has no effect
C
:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4306) : error 017undefined symbol "Maximo_Players"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4308) : error 017undefined symbol "pLogged"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4316) : error 017undefined symbol "TendoEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4322) : error 017undefined symbol "TendoEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4322) : warning 215expression has no effect
C
:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4323) : error 017undefined symbol "EventoTipo"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4323) : warning 215expression has no effect
C
:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4326) : error 017undefined symbol "PodeIrEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4326) : warning 215expression has no effect
C
:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4328) : error 017undefined symbol "Maximo_Players"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4330) : error 017undefined symbol "pLogged"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4338) : error 017undefined symbol "TendoEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4343) : error 017undefined symbol "TimerEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4344) : error 017undefined symbol "TendoEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4344) : warning 215expression has no effect
C
:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4345) : error 017undefined symbol "EventoTipo"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4345) : warning 215expression has no effect
C
:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4348) : error 017undefined symbol "PodeIrEvento"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4348) : warning 215expression has no effect
C
:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4350) : error 017undefined symbol "Maximo_Players"
C:\Users\Wendell\Desktop\Xtreme VirtuaL LiFe\gamemodes\Xtreme.pwn(4352) : error 017undefined symbol "pLogged"
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
26 Errors

Reply
#2

Faltou criar algumas variбveis.
Reply
#3

Quote:
Originally Posted by arakuta
View Post
Faltou criar algumas variбveis.
Como faзo pra criar ? e.e
Reply
#4

https://sampforum.blast.hk/showthread.php?tid=235924
Reply
#5

й sу fazer

New TendoEvento;
New TimerEvento;

?
Reply
#6

Alguйm ?
Reply
#7

Simm, de forma global... Nгo tenha medo de errar fera... Abbraзos
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)