Hi guys! Can somebody help me to detect the problem from this script ?
#1

Help Please

PHP код:
[07:08:44] [debugRun time error 4"Array index out of bounds"
[07:08:44] [debug]  Accessing element at index 5 past array upper bound 4
[07:08:44] [debugAMX backtrace:
[
07:08:44] [debug#0 0004b814 in public OnDialogResponse (0x00000002, 0x00000015, 0x00000001, 0x00000003, 0x002b7018) from Administracion.amx 
Calldback:



PHP код:
public OnDialogResponse(playeriddialogidresponselistiteminputtext[])
{
//------------------------------- [ registro ] -------------------------------//
    
if (dialogid == Registro)
    {
        new 
nombrejugador[MAX_PLAYER_NAME], archivo[256];
        if (!
response) return
        
SendClientMessage(playerid0x33FF33AA"Registro Concelado");
        
GetPlayerName(playeridnombrejugadorsizeof(nombrejugador));
        
format(archivosizeof(archivo), "sadmin/usuarios/%s.ini"nombrejugador);
        
dini_Create(archivo);
        
dini_Set(archivo"Usuario"nombrejugador);
        
dini_Set(archivo"Contraseсa"inputtext);
        
dini_Set(archivo"status""no status u.u");
           
dini_IntSet(archivo"Level"0);
           
dini_IntSet(archivo"AccountType"0);
           
dini_IntSet(archivo"banned"0);
        
dini_IntSet(archivo"Kills"0);
        
dini_IntSet(archivo"Deaths"0);
        
dini_IntSet(archivo"Exper"0);
        
dini_IntSet(archivo"Carrera"0);
        
dini_IntSet(archivo"Evento"0);
        
dini_IntSet(archivo"Gduelo"0);
        
dini_IntSet(archivo"Pduelo"0);
        
dini_IntSet(archivo"Cash"0);
        
dini_IntSet(archivo"WantedLevel"0);
        
dini_IntSet(archivo"clan"0);
        
dini_IntSet(archivo"lider"0);
        
dini_IntSet(archivo"Int"2);
        
dini_FloatSet(archivo"X"1218.338623);
        
dini_FloatSet(archivo"Y", -6.463696);
        
dini_FloatSet(archivo"Z"1001.328125);
        
dini_FloatSet(archivo"A"97.087394);
        
SendClientMessage(playerid0x33FF33AA"Su cuenta ah sido correctamente creada");
        
PlayerPlaySound(playerid10570.00.00.0);
        
PlayerInfo[playerid][Registered] = 1;
        
PlayerInfo[playerid][LoggedIn] = 1;
    }
//--------------------------------- [ Logueo ] -------------------------------//
    
if (dialogid == Ingreso)
    {
        new 
nombrejugador[MAX_PLAYER_NAME], archivo[256], comprobante[256], reglog[256], dmajust[256];
        if (!
strlen(inputtext)) return ShowPlayerDialog(playeridIngresoDIALOG_STYLE_INPUT"{00FF00}DM - Logueo","{FFFFFF}Bienvenido a DESTRUCCION MASIVA FreeRoam\nTu cuenta estб Registrada, Ingresa tu contraseсa:""Aceptar","");
        if (!
response) return ShowPlayerDialog(playeridIngresoDIALOG_STYLE_INPUT"{00FF00}DM - Logueo","{FFFFFF}Bienvenido a DESTRUCCION MASIVA FreeRoam\nTu cuenta estб Registrada, Ingresa tu contraseсa:""Aceptar","");
        
GetPlayerName(playeridnombrejugadorsizeof(nombrejugador));
        
format(archivosizeof(archivo), "sadmin/usuarios/%s.ini"nombrejugador);
        
format(comprobantesizeof(comprobante), "%s"dini_Get(archivo"Contraseсa"));
        if (!
strcmp (inputtextcomprobante))
        {
            
PlayerInfo[playerid][LoggedIn] = 1;
            
CargarDatos(playerid);
        }
        else
        {
            
PlayerInfo[playerid][FailLogin]++;
            
printf("-|Login|- %s Ah insertado una contraseсa incorrecta (%s) intentos: (%d)"PlayerName2(playerid), inputtextPlayerInfo[playerid][FailLogin]);
            if(
PlayerInfo[playerid][FailLogin] == MAX_FAIL_LOGINS)
            {
                 
format(dmajustsizeof(dmajust), "%s Ha sido kickeado (Logins incorrectos)"PlayerName2(playerid));
                
SendClientMessageToAll(greydmajust);
                print(
dmajust);
                
Kick(playerid);
            }
            
format(reglog,sizeof(reglog),"{00FF00}Hola %s \n\n{FFFFFF}Bienvenido a DESTRUCCION MASIVA FreeRoam\n\nTu cuenta estб Registrada, Porfavor Ingresa Tu Contraseсa:"nombrejugador);
            return 
ShowPlayerDialog(playeridIngresoDIALOG_STYLE_INPUT"{00FF00}DM - Logueo",reglog"Aceptar","");
        }
    }
//---------------------------------- [ configuraciones ] ---------------------//
    
if(dialogid == 756)
    {
    if(
response)
    {
        if(
listitem == 0)
        {
            if(
ServerInfo[ReadCmds] == 0)
            {
                
ServerInfo[ReadCmds] = 1;
                
MessageToAdmins(0x33FF33AA"-|Info|- Leer Comandos Activado");
            }
            else
            {
                
ServerInfo[ReadCmds] = 0;
                
MessageToAdmins(0x33FF33AA"-|Info|- Leer Comandos Desactivado");
            }
        }
        if(
listitem == 1)
        {
            if(
ServerInfo[AntiSpam] == 0)
            {
                
ServerInfo[AntiSpam] = 1;
                
MessageToAdmins(0x33FF33AA"-|Info|- Anti Flood Activado");
            }
            else
            {
                
ServerInfo[AntiSpam] = 0;
                
MessageToAdmins(0x33FF33AA"-|Info|- Anti Flood Desactivado");
            }
        }
        if(
listitem == 2)
        {
            if(
ServerInfo[DisableChat] == 0)
            {
                
ServerInfo[DisableChat] = 1;
                
MessageToAdmins(0x33FF33AA"-|Info|- Chat General Desactivado");
            }
            else
            {
                
ServerInfo[DisableChat] = 0;
                
MessageToAdmins(0x33FF33AA"-|Info|- Chat General Activado");
            }
        }
        if(
listitem == 3)
        {
            if(
ServerInfo[AntiSwear] == 0)
            {
                
ServerInfo[AntiSwear] = 1;
                
MessageToAdmins(0x33FF33AA"-|Info|- Palabras Prohibidas Activado");
            }
            else
            {
                
ServerInfo[AntiSwear] = 0;
                
MessageToAdmins(0x33FF33AA"-|Info|- Palabras Prohibidas Desactivado");
            }
        }
        if(
listitem == 4)
        {
            if(
ServerInfo[Antispamers] == 0)
            {
                
ServerInfo[Antispamers] = 1;
                
MessageToAdmins(0x33FF33AA"-|Info|- Anti Spam Activado");
            }
            else
            {
                
ServerInfo[Antispamers] = 0;
                
MessageToAdmins(0x33FF33AA"-|Info|- Anti Spam Desactivado");
            }
        }
        if(
listitem == 5)
        {
            if(
ServerInfo[AdminCmdMsg] == 0)
            {
                
ServerInfo[AdminCmdMsg] = 1;
                
MessageToAdmins(0x33FF33AA"-|Info|- Mensajes Admin's Activado");
            }
            else
            {
                
ServerInfo[AdminCmdMsg] = 0;
                
MessageToAdmins(0x33FF33AA"-|Info|- Mensajes Admin's Desactivado");
            }
        }
        if(
listitem == 6)
        {
            if(
ServerInfo[ConnectMessages] == 0)
            {
                
ServerInfo[ConnectMessages] = 1;
                
MessageToAdmins(0x33FF33AA"-|Info|- Mensaje de Conexion Activado");
            }
            else
            {
                
ServerInfo[ConnectMessages] = 0;
                
MessageToAdmins(0x33FF33AA"-|Info|- Mensaje de Conexion Desactivado");
            }
        }
        if(
listitem == 7)
        {
            if(
ServerInfo[ReadPMs] == 0)
            {
                
ServerInfo[ReadPMs] = 1;
                
MessageToAdmins(0x33FF33AA"-|Info|- Leer Pm's Activado");
            }
            else
            {
                
ServerInfo[ReadPMs] = 0;
                
MessageToAdmins(0x33FF33AA"-|Info|- Leer Pm's Desactivado");
            }
        }
    }
    return 
1;
    }
//----------------------------------- [ duelos ] -----------------------------//
    
if (dialogid == DUELOSMENU)
    {
      if (
response)
      {
         for (new 
i=1i<=ARENASi++)
         {
            if (
Duelos[i][DesafiadoId] == playerid)
            {
                new 
str0[256];
                
format(str0,sizeof(str0),"-|Info|- Tu duelo con %s a sido aceptado",PlayerName2(playerid));
                
SendClientMessage(playerid,COLOR_DUELO,"-|Info|- Espera a que tu desafiante confirme el duelo.");
                
ShowPlayerDialog(Duelos[i][DesaId], DUELOSMENU+1DIALOG_STYLE_MSGBOX,"{00FF00}DM - Duelo - Invitacion",str0,"Comenzar""Abortar");
                return 
1;
            }
         }
      }
      if (!
response)
      {
            for (new 
i=1i<=ARENASi++)
         {
            if (
Duelos[i][DesafiadoId] == playerid)
            {
                new 
str0[128];
                
format(str0,sizeof(str0),"-|Info|- %s a rechazado tu invitacion de duelo.",PlayerName2(playerid));
                
SendClientMessage(Duelos[i][DesaId],COLOR_DUELO,str0);
                
Duelos[i][DesafiadoId] = -1;
                
Duelos[i][DesaId] = -1;
                
Duelos[i][ArmasId] = -1;
                
Duelos[i][Libre] = 0;
                return 
1;
            }
         }
      }
      return 
1;
    }
    if (
dialogid == DUELOSMENU+1)
    {
      if (
response)
      {
         for (new 
i=1<=ARENASi++)
         {
            if (
Duelos[i][DesaId] == playerid)
            {
                
Duelos[i][Libre] = 1;
                
EnDuelo[Duelos[i][DesafiadoId]] = 1;
                
EnDuelo[playerid] = 1;
                
SetDuel(playerid,Duelos[i][DesafiadoId],Duelos[i][ArmasId],i);
                new 
string[128], wep[128];
                switch (
Duelos[i][ArmasId])
                {
                  case 
1wep "Armas Rapidas";
                  case 
2wep "Armas Lentas";
                  case 
3wep "Armas de Libre Elecciуn";
                }
                
format(string,sizeof(string),"El duelo entre %s y %s con armas %s, pon /duelo ver %d para espectar el duelo.",PlayerName2(Duelos[i][DesaId]),PlayerName2(Duelos[i][DesafiadoId]),wep,i,i);
                
SendClientMessageToAll(COLOR_DUELO,string);
                return 
1;
            }
         }
      }
      if (!
response)
      {
         for (new 
i=1<=ARENASi++)
         {
            if (
Duelos[i][DesaId] == playerid)
            {
                new 
str0[128];
                
format(str0,sizeof(str0),"-|Info|- Por alguna razуn %s a decidido abortar el duelo en ultimo momento.",PlayerName2(playerid));
                
SendClientMessage(Duelos[i][DesafiadoId],COLOR_DUELO,str0);
                
Duelos[i][DesafiadoId] = -1;
                
Duelos[i][DesaId] = -1;
                
Duelos[i][ArmasId] = -1;
                
Duelos[i][Libre] = 0;
            }
         }
      }
      return 
1;
    }
    if (
dialogid == DUELOSMENU2)
    {
       if (
response)
       {
           if (
Duelos[listitem+1][Libre] == 1)
           return 
SendClientMessage(playerid,COLOR_RED,"-|Error|- Esa arena esta ocupada, espera a que termine el duelo у escoje otra arena.");
           
Duelos[listitem+1][DesaId] = playerid;
           
ShowPlayerDialog(playeridDUELOSMENU2+1DIALOG_STYLE_LIST,"{00FF00}DM - Duelo - Armas","Armas Rapidas\nArmas Lentas\nElecciуn Libre","Escojer""Cancelar");
       }
       if (!
response)
       {
           
SendClientMessage(playerid,COLOR_DUELO,"-|Info|- Haz cancelado la invitacion de duelo.");
       }
       return 
1;
    }
    if (
dialogid == DUELOSMENU2+1)
    {
      if (
response)
      {
         for (new 
1<=ARENASi++)
         {
            if (
Duelos[i][DesaId] == playerid)
            {
               
Duelos[i][ArmasId] = listitem+1;
               
ShowPlayerDialog(playeridDUELOSMENU2+2DIALOG_STYLE_INPUT,"{00FF00}DM - Duelo - Id","Escribe La ID del Jugador\n al que quieras invitar","Invitar""Cancelar");
               return 
1;
            }
         }
      }
      if (!
response)
      {
         for (new 
1<= ARENASi++)
         {
            if (
Duelos[i][DesaId] == playerid)
            {
               
Duelos[i][DesaId] = -1;
               
SendClientMessage(playerid,COLOR_DUELO,"-|Info|- Haz cancelado la invitacion de duelo.");
               return 
1;
            }
         }
      }
      return 
1;
    }
    if (
dialogid == DUELOSMENU2+2)
    {
      if (
response)
      {
         if (!
strlen(inputtext))
         return 
SendClientMessage(playerid,COLOR_RED,"-|Error|- La ID que haz puesto es invalida.");
         if (!
IsNumeric(inputtext))
         return 
SendClientMessage(playerid,COLOR_RED,"-|Error|- La ID que haz puesto es invalida.");
         new 
id strval(inputtext);
         if (!
IsPlayerConnected(id))
         return 
SendClientMessage(playerid,COLOR_RED,"-|Error|- El jugador no esta conectado.");
         if (
PlayerInfo[id][Noduelo] == true)
         return 
SendClientMessage(playerid,COLOR_RED,"-|Error|- Este jugador Desactivo Las Invitaciones De Duelo");
         if (
id == playerid)
         return 
SendClientMessage(playerid,COLOR_RED,"-|Error|- No puedes desafiarte a ti mismo a un duelo.");
         if (
EnDuelo[id] == 1)
         return 
SendClientMessage(playerid,COLOR_RED,"-|Error|- El jugador al que quieres invitar esta actuamente en un duelo.");
         for (new 
1<= ARENASi++)
         {
            if (
Duelos[i][DesaId] == playerid)
            {
               
Duelos[i][DesafiadoId] = id;
               new 
str0[128], string[256];
               switch (
Duelos[i][ArmasId])
               {
                  case 
1str0 "Armas Rapidas";
                  case 
2str0 "Armas Lentas";
                  case 
3str0 "Armas de Libre Elecciуn";
               }
               
format(string,sizeof(string),"-|Info|- %s Te a desafiado a un duelo \n Con %s en la arena %d",PlayerName2(playerid),str0,i);
               
ShowPlayerDialog(Duelos[i][DesafiadoId], DUELOSMENUDIALOG_STYLE_MSGBOX,"{00FF00}DM - Duelo - Invitacion",string,"Aceptar","Rechazar");
               
format(string,sizeof(string),"-|Info|- Tu invitacion se a enviado exitosamente a %s",PlayerName2(Duelos[i][DesafiadoId]));
               
SendClientMessage(playerid,COLOR_DUELO,string);
               return 
1;
            }
         }
      }
      if (!
response)
      {
         for (new 
i=1i<= ARENASi++)
         {
            if (
Duelos[i][DesaId] == playerid)
            {
               
Duelos[i][DesaId] = -1;
               
Duelos[i][ArmasId] = -1;
               
Duelos[i][DesafiadoId] = -1;
               
Duelos[i][Libre] = 0;
               
SendClientMessage(playerid,COLOR_DUELO,"-|Info|- Haz cancelado la invitacion de duelo.");
               return 
1;
            }
         }
      }
      return 
1;
    }
    if (
dialogid == DUELOSMENU+3)
    {
       if (
response)
       {
         if (
Duelos[listitem+1][Libre] == 0)
         return 
SendClientMessage(playerid,COLOR_DUELO,"-|Info|- No hay ningun duelo en curso en esa arena.");
         switch (
listitem)
         {
            case 
0:{
                   new 
rand=random(sizeof(DuelosSpec1));
                   
SetPlayerPos(playerid,DuelosSpec1[rand][0],DuelosSpec1[rand][1],DuelosSpec1[rand][2]);
                   
SetPlayerFacingAngle(playerid,DuelosSpec1[rand][3]);
                   
SetPlayerVirtualWorld(playerid5);
                   }
            case 
1:{
                   new 
rand=random(sizeof(DuelosSpec2));
                   
SetPlayerPos(playerid,DuelosSpec2[rand][0],DuelosSpec2[rand][1],DuelosSpec2[rand][2]);
                   
SetPlayerFacingAngle(playerid,DuelosSpec2[rand][3]);
                   
SetPlayerVirtualWorld(playerid5);
                   }
            case 
2:{
                   new 
rand=random(sizeof(DuelosSpec3));
                   
SetPlayerPos(playerid,DuelosSpec3[rand][0],DuelosSpec3[rand][1],DuelosSpec3[rand][2]);
                   
SetPlayerFacingAngle(playerid,DuelosSpec3[rand][3]);
                   
SetPlayerVirtualWorld(playerid5);
                   }
            case 
3:{
                   new 
rand=random(sizeof(DuelosSpec4));
                   
SetPlayerPos(playerid,DuelosSpec4[rand][0],DuelosSpec4[rand][1],DuelosSpec4[rand][2]);
                   
SetPlayerFacingAngle(playerid,DuelosSpec4[rand][3]);
                   
SetPlayerVirtualWorld(playerid5);
                   }
         }
         
ViendoDuelo[playerid] = (listitem+1);
       }
       return 
1;
    }
//------------------------------------- [ clanes ] ---------------------------//
    
if (dialogid == INVITAR_CLAN)
    {
        if (
response)
        {
            if(
PlayerInfo[playerid][Registered] == 0)
            return 
SendClientMessage(playeridCOLOR_LIME"-|Error|- Usted Debe Estar Registrado {0000FF}(/register)");
            if(
PlayerGang[playerid] == 1)
            return 
SendClientMessage(playeridCOLOR_RED"-|Error|- Tъ Debes Salir Primero De Tu Clan!");
            if(
invited[playerid] == 0)
            return 
SendClientMessage(playeridCOLOR_RED"-|Error|- No Has Sido Invitado a Ningъn Clan!");
            
JoinGang(playeridinvited[playerid]);
        }
        if (!
response)
        {
            
invited[playerid] = 0;
            
SendClientMessage(playeridCOLOR_RED"-|Info|- Has Rechazado la Invitaciуn al Clan!");
        }
        return 
1;
    }
//----------------------------- [ autos tuneados ] ---------------------------//
    
if(dialogid == AutosTuning)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
            if(!
IsPlayerInAnyVehicle(playerid))
            {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,LVehicleIDt;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
LVehicleIDt CreateVehicle(560,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,LVehicleIDt,0);         AddVehicleComponent(LVehicleIDt1028);    AddVehicleComponent(LVehicleIDt1030);    AddVehicleComponent(LVehicleIDt1031);    AddVehicleComponent(LVehicleIDt1138);
            
AddVehicleComponent(LVehicleIDt1140);  AddVehicleComponent(LVehicleIDt1170);
            
AddVehicleComponent(LVehicleIDt1028);    AddVehicleComponent(LVehicleIDt1030);    AddVehicleComponent(LVehicleIDt1031);    AddVehicleComponent(LVehicleIDt1138);    AddVehicleComponent(LVehicleIDt1140);  AddVehicleComponent(LVehicleIDt1170);
            
AddVehicleComponent(LVehicleIDt1080);    AddVehicleComponent(LVehicleIDt1086); AddVehicleComponent(LVehicleIDt1087); AddVehicleComponent(LVehicleIDt1010);    PlayerPlaySound(playerid,1133,0.0,0.0,0.0);    ChangeVehiclePaintjob(LVehicleIDt,0);
                  
SetVehicleVirtualWorld(LVehicleIDtGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(LVehicleIDtGetPlayerInterior(playerid));
            return 
PlayerInfo[playerid][pCar] = LVehicleIDt;
            }
            else return 
SendClientMessage(playerid,COLOR_RED,"-|Error|- Estas en un vehiculo!");
            }
            if(
listitem == 1)
            {
            if(
IsPlayerInAnyVehicle(playerid))
            {
            
SendClientMessage(playerid,COLOR_RED,"-|Error|- Usted ya tiene un vehнculo!");
            } else  {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,LVehicleIDt;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
LVehicleIDt CreateVehicle(560,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,LVehicleIDt,0);         AddVehicleComponent(LVehicleIDt1028);    AddVehicleComponent(LVehicleIDt1030);    AddVehicleComponent(LVehicleIDt1031);    AddVehicleComponent(LVehicleIDt1138);    AddVehicleComponent(LVehicleIDt1140);  AddVehicleComponent(LVehicleIDt1170);
            
AddVehicleComponent(LVehicleIDt1028);    AddVehicleComponent(LVehicleIDt1030);    AddVehicleComponent(LVehicleIDt1031);    AddVehicleComponent(LVehicleIDt1138);    AddVehicleComponent(LVehicleIDt1140);  AddVehicleComponent(LVehicleIDt1170);
            
AddVehicleComponent(LVehicleIDt1080);    AddVehicleComponent(LVehicleIDt1086); AddVehicleComponent(LVehicleIDt1087); AddVehicleComponent(LVehicleIDt1010);    PlayerPlaySound(playerid,1133,0.0,0.0,0.0);    ChangeVehiclePaintjob(LVehicleIDt,1);
               
SetVehicleVirtualWorld(LVehicleIDtGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(LVehicleIDtGetPlayerInterior(playerid));
            
PlayerInfo[playerid][pCar] = LVehicleIDt;
            }
            }
            if(
listitem == 2)
            {
            if(
IsPlayerInAnyVehicle(playerid))
            {
            
SendClientMessage(playerid,COLOR_RED,"-|Error|- Usted ya tiene un vehнculo!");
            } else  {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,LVehicleIDt;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
LVehicleIDt CreateVehicle(560,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,LVehicleIDt,0);         AddVehicleComponent(LVehicleIDt1028);    AddVehicleComponent(LVehicleIDt1030);    AddVehicleComponent(LVehicleIDt1031);    AddVehicleComponent(LVehicleIDt1138);    AddVehicleComponent(LVehicleIDt1140);  AddVehicleComponent(LVehicleIDt1170);
            
AddVehicleComponent(LVehicleIDt1080);    AddVehicleComponent(LVehicleIDt1086); AddVehicleComponent(LVehicleIDt1087); AddVehicleComponent(LVehicleIDt1010);    PlayerPlaySound(playerid,1133,0.0,0.0,0.0);    ChangeVehiclePaintjob(LVehicleIDt,2);
               
SetVehicleVirtualWorld(LVehicleIDtGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(LVehicleIDtGetPlayerInterior(playerid));
            
PlayerInfo[playerid][pCar] = LVehicleIDt;
            }
            }
            if(
listitem == 3)
            {
            if(
IsPlayerInAnyVehicle(playerid))
            {
            
SendClientMessage(playerid,COLOR_RED,"-|Error|- Usted ya tiene un vehнculo!");
            } else  {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,carid;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
carid CreateVehicle(559,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,carid,0);
            
AddVehicleComponent(carid,1065);    AddVehicleComponent(carid,1067);    AddVehicleComponent(carid,1162); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1073);    ChangeVehiclePaintjob(carid,1);
               
SetVehicleVirtualWorld(caridGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(caridGetPlayerInterior(playerid));
            
PlayerInfo[playerid][pCar] = carid;
            }
            }
            if(
listitem == 4)
            {
            if(
IsPlayerInAnyVehicle(playerid))
            {
            
SendClientMessage(playerid,COLOR_RED,"-|Error|- Usted ya tiene un vehнculo!");
            } else  {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,carid;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
carid CreateVehicle(565,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,carid,0);
            
AddVehicleComponent(carid,1046); AddVehicleComponent(carid,1049); AddVehicleComponent(carid,1053); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1073); ChangeVehiclePaintjob(carid,1);
               
SetVehicleVirtualWorld(caridGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(caridGetPlayerInterior(playerid));
            
PlayerInfo[playerid][pCar] = carid;
            }
            }
            if(
listitem == 5)
            {
            if(
IsPlayerInAnyVehicle(playerid))
            {
            
SendClientMessage(playerid,COLOR_RED,"-|Error|- Usted ya tiene un vehнculo!");
            } else  {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,carid;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
carid CreateVehicle(558,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,carid,0);
            
AddVehicleComponent(carid,1088); AddVehicleComponent(carid,1092); AddVehicleComponent(carid,1139); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1073); ChangeVehiclePaintjob(carid,1);
                
SetVehicleVirtualWorld(caridGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(caridGetPlayerInterior(playerid));
            
PlayerInfo[playerid][pCar] = carid;
            }
            }
            if(
listitem == 6)
            {
            if(
IsPlayerInAnyVehicle(playerid))
            {
            
SendClientMessage(playerid,COLOR_RED,"-|Error|- Usted ya tiene un vehнculo!");
            } else  {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,carid;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
carid CreateVehicle(561,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,carid,0);
            
AddVehicleComponent(carid,1055); AddVehicleComponent(carid,1058); AddVehicleComponent(carid,1064); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1073); ChangeVehiclePaintjob(carid,1);
               
SetVehicleVirtualWorld(caridGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(caridGetPlayerInterior(playerid));
            
PlayerInfo[playerid][pCar] = carid;
            }
            }
            if(
listitem == 7)
            {
            if(
IsPlayerInAnyVehicle(playerid))
            {
            
SendClientMessage(playerid,COLOR_RED,"-|Error|- Usted ya tiene un vehнculo!");
            } else  {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,carid;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
carid CreateVehicle(562,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,carid,0);
            
AddVehicleComponent(carid,1034); AddVehicleComponent(carid,1038); AddVehicleComponent(carid,1147); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1073); ChangeVehiclePaintjob(carid,1);
               
SetVehicleVirtualWorld(caridGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(caridGetPlayerInterior(playerid));
            
PlayerInfo[playerid][pCar] = carid;
            }
            }
            if(
listitem == 8)
            {
            if(
IsPlayerInAnyVehicle(playerid))
            {
            
SendClientMessage(playerid,COLOR_RED,"-|Error|- Usted ya tiene un vehнculo!");
            } else  {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,carid;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
carid CreateVehicle(567,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,carid,0);
            
AddVehicleComponent(carid,1102); AddVehicleComponent(carid,1129); AddVehicleComponent(carid,1133); AddVehicleComponent(carid,1186); AddVehicleComponent(carid,1188); ChangeVehiclePaintjob(carid,1); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1085); AddVehicleComponent(carid,1087); AddVehicleComponent(carid,1086);
               
SetVehicleVirtualWorld(caridGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(caridGetPlayerInterior(playerid));
            
PlayerInfo[playerid][pCar] = carid;
            }
            }
            if(
listitem == 9)
            {
            if(
IsPlayerInAnyVehicle(playerid))
            {
            
SendClientMessage(playerid,COLOR_RED,"-|Error|- Usted ya tiene un vehнculo!");
            } else  {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,carid;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
carid CreateVehicle(558,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,carid,0);
               
AddVehicleComponent(carid,1092); AddVehicleComponent(carid,1166); AddVehicleComponent(carid,1165); AddVehicleComponent(carid,1090);
            
AddVehicleComponent(carid,1094); AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1087); AddVehicleComponent(carid,1163);//SPOILER
            
AddVehicleComponent(carid,1091); ChangeVehiclePaintjob(carid,2);
               
SetVehicleVirtualWorld(caridGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(caridGetPlayerInterior(playerid));
            
PlayerInfo[playerid][pCar] = carid;
            }
            }
            if(
listitem == 10)
            {
            if(
IsPlayerInAnyVehicle(playerid))
            {
            
SendClientMessage(playerid,COLOR_RED,"-|Error|- Usted ya tiene un vehнculo!");
            } else {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,carid;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
carid CreateVehicle(557,X,Y,Z,Angle,1,1,-1);    PutPlayerInVehicle(playerid,carid,0);
            
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1081);
               
SetVehicleVirtualWorld(caridGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(caridGetPlayerInterior(playerid));
            
PlayerInfo[playerid][pCar] = carid;
            }
            }
            if(
listitem == 11)
            {
            if(
IsPlayerInAnyVehicle(playerid))
            {
            
SendClientMessage(playerid,COLOR_RED,"-|Error|- Usted ya tiene un vehнculo!");
            } else  {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,carid;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
carid CreateVehicle(535,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,carid,0);
            
ChangeVehiclePaintjob(carid,1); AddVehicleComponent(carid,1109); AddVehicleComponent(carid,1115); AddVehicleComponent(carid,1117); AddVehicleComponent(carid,1073); AddVehicleComponent(carid,1010);
            
AddVehicleComponent(carid,1087); AddVehicleComponent(carid,1114); AddVehicleComponent(carid,1081); AddVehicleComponent(carid,1119); AddVehicleComponent(carid,1121);
               
SetVehicleVirtualWorld(caridGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(caridGetPlayerInterior(playerid));
            
PlayerInfo[playerid][pCar] = carid;
            }
            }
            if(
listitem == 12)
            {
            if(
IsPlayerInAnyVehicle(playerid)) SendClientMessage(playerid,COLOR_RED,"-|Error|- Usted ya tiene un vehнculo!");
            else {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,carid;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
carid CreateVehicle(562,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,carid,0);
              
AddVehicleComponent(carid,1034); AddVehicleComponent(carid,1038); AddVehicleComponent(carid,1147);
            
AddVehicleComponent(carid,1010); AddVehicleComponent(carid,1073); ChangeVehiclePaintjob(carid,0);
               
SetVehicleVirtualWorld(caridGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(caridGetPlayerInterior(playerid));
            
PlayerInfo[playerid][pCar] = carid;
            }
            }
        }
        return 
1;
    }
//------------------------------- [ autos RC ] -------------------------------//
    
if(dialogid == AutosRC)
    {
        if(
response)
        {
            if(
listitem == 0)
            {
            if(!
IsPlayerInAnyVehicle(playerid))
            {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,LVehicleIDt;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
LVehicleIDt CreateVehicle(441,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,LVehicleIDt,0);
            
PlayerPlaySound(playerid,1133,0.0,0.0,0.0);    ChangeVehiclePaintjob(LVehicleIDt,0);
                  
SetVehicleVirtualWorld(LVehicleIDtGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(LVehicleIDtGetPlayerInterior(playerid));
            return 
PlayerInfo[playerid][pCar] = LVehicleIDt;
            } else return 
SendClientMessage(playerid,COLOR_RED,"-|Error|- Estas en un vehiculo!");
            }
            if(
listitem == 1)
            {
            if(!
IsPlayerInAnyVehicle(playerid))
            {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,LVehicleIDt;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
LVehicleIDt CreateVehicle(465,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,LVehicleIDt,0);
            
PlayerPlaySound(playerid,1133,0.0,0.0,0.0);    ChangeVehiclePaintjob(LVehicleIDt,0);
                  
SetVehicleVirtualWorld(LVehicleIDtGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(LVehicleIDtGetPlayerInterior(playerid));
            return 
PlayerInfo[playerid][pCar] = LVehicleIDt;
            } else return 
SendClientMessage(playerid,COLOR_RED,"-|Error|- Estas en un vehiculo!");
            }
            if(
listitem == 2)
            {
            if(!
IsPlayerInAnyVehicle(playerid))
            {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,LVehicleIDt;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
LVehicleIDt CreateVehicle(501,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,LVehicleIDt,0);
            
PlayerPlaySound(playerid,1133,0.0,0.0,0.0);    ChangeVehiclePaintjob(LVehicleIDt,0);
                  
SetVehicleVirtualWorld(LVehicleIDtGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(LVehicleIDtGetPlayerInterior(playerid));
            return 
PlayerInfo[playerid][pCar] = LVehicleIDt;
            } else return 
SendClientMessage(playerid,COLOR_RED,"-|Error|- Estas en un vehiculo!");
            }
            if(
listitem == 3)
            {
            if(!
IsPlayerInAnyVehicle(playerid))
            {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,LVehicleIDt;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
LVehicleIDt CreateVehicle(564,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,LVehicleIDt,0);
            
PlayerPlaySound(playerid,1133,0.0,0.0,0.0);    ChangeVehiclePaintjob(LVehicleIDt,0);
                  
SetVehicleVirtualWorld(LVehicleIDtGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(LVehicleIDtGetPlayerInterior(playerid));
            return 
PlayerInfo[playerid][pCar] = LVehicleIDt;
            } else return 
SendClientMessage(playerid,COLOR_RED,"-|Error|- Estas en un vehiculo!");
            }
            if(
listitem == 4)
            {
            if(!
IsPlayerInAnyVehicle(playerid))
            {
            if(
PlayerInfo[playerid][pCar] != -1BorrarAuto(PlayerInfo[playerid][pCar]);
            new 
Float:X,Float:Y,Float:Z,Float:Angle,LVehicleIDt;    GetPlayerPos(playerid,X,Y,Z); GetPlayerFacingAngle(playerid,Angle);
            
LVehicleIDt CreateVehicle(594,X,Y,Z,Angle,1,-1,-1);    PutPlayerInVehicle(playerid,LVehicleIDt,0);
            
PlayerPlaySound(playerid,1133,0.0,0.0,0.0);    ChangeVehiclePaintjob(LVehicleIDt,0);
                  
SetVehicleVirtualWorld(LVehicleIDtGetPlayerVirtualWorld(playerid)); LinkVehicleToInterior(LVehicleIDtGetPlayerInterior(playerid));
            return 
PlayerInfo[playerid][pCar] = LVehicleIDt;
            } else return 
SendClientMessage(playerid,COLOR_RED,"-|Error|- Estas en un vehiculo!");
            }
            }
        return 
1;
    }
//--------------------------------- [ textos ] -------------------------------//
    
if(dialogid == 4654)
    {
        if(
response)
        {
            new 
Strk[256];
            if(
listitem == 0)
            {
                
Texto1[playerid] = 1;
                
GetPlayerName(playeridNickMAX_PLAYER_NAME);
                
format(Strksizeof(Strk), "%s Cambio el color de su texto a  > {FFFF00}Aamarillo"Nick);
                
SendClientMessageToAll(0xFFFFFFFFStrk);
            }
            if(
listitem == 1)
            {
                
Texto1[playerid] = 2;
                
GetPlayerName(playeridNickMAX_PLAYER_NAME);
                
format(Strksizeof(Strk), "%s Cambio el color de su texto a  > {FF0000}Rojo"Nick);
                
SendClientMessageToAll(0xFFFFFFFFStrk);
            }
            if(
listitem == 2)
            {
                
Texto1[playerid] = 3;
                
GetPlayerName(playeridNickMAX_PLAYER_NAME);
                
format(Strksizeof(Strk), "%s Cambio el color de su texto a  > {00BFFF}Azul"Nick);
                
SendClientMessageToAll(0xFFFFFFFFStrk);
            }
            if(
listitem == 3)
            {
                
Texto1[playerid] = 4;
                
GetPlayerName(playeridNickMAX_PLAYER_NAME);
                
format(Strksizeof(Strk), "%s Cambio el color de su texto a  > {00FF00}Verde"Nick);
                
SendClientMessageToAll(0xFFFFFFFFStrk);
            }
            if(
listitem == 4)
            {
                
Texto1[playerid] = 5;
                
GetPlayerName(playeridNickMAX_PLAYER_NAME);
                
format(Strksizeof(Strk), "%s Cambio el color de su texto a  > {696969}Gris"Nick);
                
SendClientMessageToAll(0xFFFFFFFFStrk);
            }
            if(
listitem == 5)
            {
                
Texto1[playerid] = 6;
                
GetPlayerName(playeridNickMAX_PLAYER_NAME);
                
format(Strksizeof(Strk), "%s Cambio el color de su texto a  > {FF00FF}Rosa"Nick);
                
SendClientMessageToAll(0xFFFFFFFFStrk);
            }
            if(
listitem == 6)
            {
                
Texto1[playerid] = 7;
                
GetPlayerName(playeridNickMAX_PLAYER_NAME);
                
format(Strksizeof(Strk), "%s Cambio el color de su texto a  > {FFFFFF}Blanco"Nick);
                
SendClientMessageToAll(0xFFFFFFFFStrk);
            }
        }
        return 
1;
    }
//--------------------------------- [ carreras ] -----------------------------//
    
switch(dialogid)
    {
        case 
199:
        {
            if(!
response) return BuildRace 0;
            switch(
listitem)
            {
                case 
0BuildRaceType 0;
                case 
1BuildRaceType 3;
            }
            
ShowDialog(playerid200);
        }
        case 
200..201:
        {
            if(!
response) return ShowDialog(playerid199);
            if(!
strlen(inputtext))
            return 
ShowDialog(playerid201);
            if(
strlen(inputtext) < || strlen(inputtext) > 20)
            return 
ShowDialog(playerid201);
            
strmid(BuildNameinputtext0strlen(inputtext),
            
sizeof(BuildName));
            
ShowDialog(playerid202);
        }
        case 
202..203:
        {
            if(!
response)
            return 
ShowDialog(playerid200);
            if(!
strlen(inputtext))
            return 
ShowDialog(playerid203);
            new 
carVeh;
               if(!
IsNumeric(inputtext))
            
carVeh GetVehicleModelIDFromName(inputtext);
            else 
carVeh strval(inputtext);
            if(
carVeh 400 || carVeh 611)
            return 
ShowDialog(playerid203);
            if(
IsNumeric(inputtext))
            {
                if(!
GetVehicleModelIDFromName(inputtext))
                return 
ShowDialog(playerid203);
                new 
FloatpPos[4];
                
GetPlayerPos(playeridpPos[0], pPos[1], pPos[2]);
                
GetPlayerFacingAngle(playeridpPos[3]);
                
BuildModeVID strval(inputtext);
                
BuildCreatedVehicle = (BuildCreatedVehicle == 0x01) ? (DestroyVehicle(BuildVehicle), BuildCreatedVehicle 0x00) : (DestroyVehicle(BuildVehicle), BuildCreatedVehicle 0x00);
                
BuildVehicle CreateVehicle(strval(inputtext), pPos[0], pPos[1], pPos[2], pPos[3], random(126), random(126), (60 60));
                
PutPlayerInVehicle(playeridBuildVehicle0);
                
BuildCreatedVehicle 0x01;
                
ShowDialog(playerid204);
            }
            else
            {
                if(!
GetVehicleModelIDFromName(inputtext))
                return 
ShowDialog(playerid203);
                new 
FloatpPos[4];
                
GetPlayerPos(playeridpPos[0], pPos[1], pPos[2]);
                
GetPlayerFacingAngle(playeridpPos[3]);
                
BuildModeVID GetVehicleModelIDFromName(inputtext);
                
BuildCreatedVehicle = (BuildCreatedVehicle == 0x01) ? (DestroyVehicle(BuildVehicle), BuildCreatedVehicle 0x00) : (DestroyVehicle(BuildVehicle), BuildCreatedVehicle 0x00);
                
BuildVehicle CreateVehicle(GetVehicleModelIDFromName(inputtext), pPos[0], pPos[1], pPos[2], pPos[3], random(126), random(126), (60 60));
                
PutPlayerInVehicle(playeridBuildVehicle0);
                
BuildCreatedVehicle 0x01;
                
ShowDialog(playerid204);
            }
        }
        case 
204:
        {
            if(!
response) return ShowDialog(playerid202);
            
SendClientMessage(playeridCOLOR_LIME"Dirigese a la pocicion izquierda y presiona 'CLICK IZQUIERDO', hacer lo mismo con la pocicon derecha");
            
SendClientMessage(playeridCOLOR_LIME"Despues de esto vera un cuadro de dialogo para seguir con el asistente");
            
BuildVehPosCount 0;
            
BuildTakeVehPos true;
        }
        case 
205:
        {
            if(!
response) return ShowDialog(playerid204);
            
SendClientMessage(playeridCOLOR_LIME"Ahora comienze a fijar los chekcpoint por el circuito, para esto lo hara precionando 'CLICK IZQUIERDO' por cada checkpoint que fije");
            
SendClientMessage(playeridCOLOR_LIME"IMPORTANTE:Una vez terminado de colocar los checkpoint precione 'ENTER' para elegir entre terminar o abortar la creacion de la nueva carrera");
            
BuildCheckPointCount 0;
            
BuildTakeCheckpoints true;
        }
        case 
206:
        {
            if(!
response) return ShowDialog(playerid206);
            
BuildRace 0;
            
BuildCheckPointCount 0;
            
BuildVehPosCount 0;
            
BuildTakeCheckpoints false;
            
BuildTakeVehPos false;
            
BuildCreatedVehicle = (BuildCreatedVehicle == 0x01) ? (DestroyVehicle(BuildVehicle), BuildCreatedVehicle 0x00) : (DestroyVehicle(BuildVehicle), BuildCreatedVehicle 0x00);
        }
    }
//-------------------------------------- [ unban ip ] ------------------------//
    
if(dialogid == UNBAN)
    {
    if(
response)
    {
        new 
iName[MAX_PLAYER_NAME];
        new 
strdmfree[256];
        
GetPlayerName(playeridiNameMAX_PLAYER_NAME);
        
format(iytring,sizeof(iytring),"%s ha Unbaned(desbaneado) la '%s' Ip",iName,inputtext);
         
format(strdmfree,sizeof(iytring),"unbanip %s",inputtext);
         
SendRconCommand(strdmfree);
         
SendRconCommand("reloadbans");
         
SendClientMessageToAll(COLOR_LIME,iytring);
         
SendClientMessage(playerid,COLOR_ORANGE,"|- Comando Enviado! -|");
    }
    return 
1;
    }
//-------------------------------- [ androsniper ] ---------------------------//
    
if(dialogid == 9599)
    {
    if(
response)
    {
        if(
listitem == 0)
        {
            
ShowPlayerDialog(playerid,9599+10"{2800FF}SWAT","{FFFFFF}PERTENECES A S.W.A.T\n{FFFFFF}TU MISION ES DEFENDER AL ANDROMEDA DE LOS DE LA{2800FF}MAFIA\n{FFFFFF} ANIQUILA A LOS DELA MAFIA ANTES QUE SE HAGAN DEL ANDROMEDA","ACEPTAR","");
            new 
random(5);{
            if (
== 0){
            
SetPlayerPos(playerid,316.0686,973.3143,1961.5872);}
            else if (
== 1){
            
SetPlayerPos(playerid,312.9083,976.1627,1960.9513);}
            else if (
== 2){
              
SetPlayerPos(playerid,318.9717,976.4786,1960.8784);}
            else if (
== 3){
            
SetPlayerPos(playerid,319.4209,983.6863,1959.2151);}
            else if (
== 4){
            
SetPlayerPos(playerid,312.8192,983.8520,1959.1769);}
            }
            
SetPlayerInterior(playerid9);
            
SetPlayerSkin(playerid,285);
            
franco[playerid][tirador] = 0;
            
SetPlayerColor(playerid,0x2800FFAA);
            
SetPlayerArmour(playerid100.0);
            
SetPlayerHealth(playerid100.0);
            
SetPlayerScore(playerid,GetPlayerScore(playerid)+5);
            
GivePlayerMoney(playerid150);
            
ResetPlayerWeapons(playerid);
            
GivePlayerWeapon(playerid,34,88888);
            
SetPlayerVirtualWorld(playerid,51);
            new 
name[MAX_PLAYERS];
            new 
stringa[256];
            
GetPlayerName(playeridnamesizeof(name));
            
format(stringasizeof(stringa), "{F81414}%s: {FFFFFF}AH USADO{FFD200}/INGRESAR {FFFFFF}COMO {2800FF}SWAT{FFFFFF} UNETELES PARA DERROTAR A LA MAFIA"name);
            
SendClientMessageToAll(0x6495EDAA,stringa);
        }
        if(
listitem == 1)
        {
            
ShowPlayerDialogplayerid,9599+20"{F81414}MAFIA","{FFFFFF}PERTENECES A MAFIA\n{FFFFFF}TU OBJETIVO ESHACERTE DEL ANDROMEDA Y LIBRARTE DE LOS {F81414}S.W.A.T{FFFFFF} ACABA CON LOS SWAT Y SECUENTRA EL ANDROMEDA","ACEPTAR","");
            new 
random(5);{
            if (
== 0){
            
SetPlayerPos(playerid,312.5181,1021.6256,1950.4598);}
            else if (
== 1){
            
SetPlayerPos(playerid,311.9855,1012.7170,1952.5156);}
            else if (
== 2){
            
SetPlayerPos(playerid,319.6591,1022.0111,1950.3708);}
            else if (
== 3){
            
SetPlayerPos(playerid,319.1067,1012.6175,1952.5387);}
            else if (
== 4){
            
SetPlayerPos(playerid,315.8256,1036.1316,1944.8867);}
            }
            new 
sS random(5);{
            if (
sS == 0){
            
SetPlayerSkin(playerid,124);}
            else if (
sS == 1){
            
SetPlayerSkin(playerid,125);}
            else if (
sS == 2){
            
SetPlayerSkin(playerid,126);}
            else if (
sS == 3){
            
SetPlayerSkin(playerid,127);}
            else if (
sS == 4){
            
SetPlayerSkin(playerid,294);}
            }
            
SetPlayerInterior(playerid9);
            
SetPlayerColor(playerid,0xF81414AA);
            
SetPlayerArmour(playerid100.0);
            
SetPlayerHealth(playerid100.0);
            
franco[playerid][tirador] = 0;
            
SetPlayerScore(playerid,GetPlayerScore(playerid)+5);
            
GivePlayerMoney(playerid150);
            
ResetPlayerWeapons(playerid);
            
GivePlayerWeapon(playerid,34,88888);
            
SetPlayerVirtualWorld(playerid,51);
            new 
name[MAX_PLAYERS];
            new 
stringa[256];
            
GetPlayerName(playeridnamesizeof(name));
            
format(stringasizeof(stringa), "{2800FF}%s: {FFFFFF}AH USADO{FFD200}/INGRESAR {FFFFFF}COMO {F81414}MAFIA{FFFFFF} UNETELES PARA DETENER A LOS SWAT"name);
            
SendClientMessageToAll(0x6495EDAA,stringa);
                }
    }
    return 
1;
    }
    return 
1;

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)