Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - The_Lucifer

Pages: [1]
1
General Discussion / SA-MP Question
« on: November 29, 2014, 07:34:51 am »
I know this forum is only for VCMP, but I cant find how to register in samp´s forum, This is the question, me and some friends are going to have a samp server, and I want to make a program that retrieves the server´s info, like GM, Name, IP, ETC, kind of like my own samp server browser but for only 1 server, ¿How can i retrive information of a SAMP 3z server?, is there like a link, IP, etc to get a servers info, This is an example of what a want to make: https://www.youtube.com/watch?v=AIeN2hZ6-MM . As you could see that .exe program can retrieve a SAMP server info by typing in the ip, thats kind of what I want to make. On the minute 1:20 you could see how he types in an ip then the full server info showes up.

2
mIRC/pawn Scripting / Question!
« on: August 31, 2014, 07:12:44 pm »
Hello all!, i have a realy importent question, Will the 3z servers are going to be able to update to 4.0?, (Like in samp when u change the .exe file and it updates ) please, i have a 2 year work server and it will be useless when everyone changes to 4.0 :v
Thanks

3
Snippet Showroom / Simple name detect
« on: August 31, 2014, 06:56:53 pm »
Hello all!, today I made a simple name detect system ( Detects custom names ), here it is:

OnPlayerConnect:

[pawn]new name[MAX_PLAYER_NAME];[/pawn]

[pawn]GetPlayerName( playerid, name, sizeof(name))[/pawn]

[pawn]if (!strcmp(name,"-NAME-",true))
    {
    SendClientMessage(playerid, BLUE, "Hi!, your a special member!");
    }[/pawn]

For example, i have this:

[pawn]if (!strcmp(LuciferName,"NE.CrystalBlue",true))
    {
    SendClientMessage(playerid, BLUE, " ");
    SendClientMessage(playerid, BLUE, " ");
    SendClientMessage(playerid, BLUE, " ");
    SendClientMessage(playerid, BLUE, " ");
    SendClientMessageToAll(RED, "NE.CrystalBlue has Connected as a Special-Player!");
    SendClientMessage(playerid, BLUE, "Hello! NE.CrystalBlue, your a Special player for this server.");
    SendClientMessage(playerid, BLUE, "To loggin use /c conectar [ Password ]");
    }[/pawn]

Hope u liked it, any bugs? tell me

4
Snippet Showroom / Nice account info cmd
« on: August 30, 2014, 10:28:59 pm »
Hello all!, I created an account info cmd, here it is

Code: [Select]
else if ( strcmp( cmd, "!cuenta", true ) == 0 )
    {
new ip[ 24 ];
                GetPlayerIp( playerid, ip, 24 );
new level; level = GetPlayerAdminLevel(gPlayers[ playerid ] );
format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
new kills, deaths; kills = dini_Int( file, "Kills" ), deaths = dini_Int( file, "Deaths" );
new Float:ratio=floatdiv(kills, deaths);
eFormatMessageSentToPlayer( playerid, 0xFF9724FF,"°Nick: %s °Nivel: %d °Estado: %s", gPlayers[ playerid ], level, StatusTag( level ) );
if ( GetPlayerState( playerid ) == 1 ) eFormatMessageSentToPlayer( playerid, 0xFF9724FF,"°ID: %s °Posicion: A pie.", playerid);//FOOT
    if ( GetPlayerState( playerid ) == 2 ) eFormatMessageSentToPlayer( playerid, 0xFF9724FF,"°ID: %s °Posicion: En auto (conductor)", playerid); //CAR_DRIVER
        if ( GetPlayerState( playerid ) == 3 ) eFormatMessageSentToPlayer( playerid, 0xFF9724FF,"°ID: %s °Posicion: En auto (passagero)", playerid); //CAR_PASSENGER
    if ( GetPlayerState( playerid ) == 7 ) eFormatMessageSentToPlayer( playerid, 0xFF9724FF,"°ID: %s °Posicion: Escojiendo Skin.", playerid); //CLASS_SELECTION
    eFormatMessageSentToPlayer( playerid, 0xFF9724FF,"°Ubicacion: %s", GetPlayerLocation( playerid ));
eFormatMessageSentToPlayer( playerid, 0xFF9724FF,"°Assesinatos: %d °Muertes: %d °Ratio: %.4f", kills, deaths, ratio );
eFormatMessageSentToPlayer( playerid, 0xFF9724FF,"°IP: %s",  ip );
return 1;
     }
Any bugs? tell me!
And i almost forgot, if eFormatMessageSentToPlayer gives u error, change it to SendClientMessage
Thanks

5
mIRC/pawn Scripting / Help with my Pawn Script pls
« on: August 24, 2014, 10:54:16 pm »
Hi all, i have a big problem with my script, I have being scripting this script for 2 years, it has a lot of systems, but becuase of that, its realy buggy, sometimes when you enter to the server and you use /c conectar ( CMD to login ), even if the password is correct, it tells you its incorrect, I tryed to fix it but I cant, I have 59 warnings. The base GM is Gups 1.6. Some other bugs are that on random time, the server crashes ( vcmp-srv.exe has stoped working ), That does not always happen, And there is another bug similer to that one, wich is that it gives you Lost Connection ( The server does not crash, it just tells you Lost Connection, you can join agiean ), it happens most times when you spawn. So please i need help, here are the warnings:

Code: [Select]
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(175) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(212) : warning 219: local variable "szMsg" shadows a variable at a preceding level
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(282) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(282) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(290) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(290) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(334) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(342) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(388) : warning 204: symbol is assigned a value that is never used: "plr"
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(407) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(407) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(455) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(459) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(459) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(459) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(459) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(592) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(597) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(598) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(599) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(609) : warning 204: symbol is assigned a value that is never used: "level"
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(623) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(795) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(877) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(903) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(975) : warning 219: local variable "tmp2" shadows a variable at a preceding level
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(1018) : warning 219: local variable "tmp2" shadows a variable at a preceding level
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(1728) : warning 219: local variable "tmp2" shadows a variable at a preceding level
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(1758) : warning 219: local variable "tmp2" shadows a variable at a preceding level
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(1836) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(1853) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(1853) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(1897) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(1991) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(2146) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(2146) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(2176) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(2176) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(2202) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(2202) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(2269) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(2280) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(2296) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(2327) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(2426) : warning 219: local variable "tmp2" shadows a variable at a preceding level
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(2570) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(2577) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(3036) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(3036) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(3045) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(3045) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(3054) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(3054) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(3110) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(3110) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(3312) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(3312) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(3388) : warning 202: number of arguments does not match definition
C:\Users\The_Lucifer\Desktop\Scripts\VC-MP Scripts\The Matrix Revolucion Latino [TGG-ES] Final\The Matrix Revolucion Latino\gamemodes\TMR.pwn(5333) : warning 202: number of arguments does not match definition
Pawn compiler 3.0.3367 Copyright (c) 1997-2005, ITB CompuPhase


59 Warnings.

Now, this is how much MB are the .amx and .pwn

.PWN: 274 KB

.AMX 823 KB

Hope someone could help me.

Thanks.

6
Un pendejo envidioso de mierda chupa pij..... Ok me tengo que calmar... Un pendejo entro a mi server, Con el patetico nick Tumba_Server diciendo que si no le daba admin me iva a tumbar el server, Pues lo ignore como si fuera una mosca, se salio SIN decir nada, y NO me lo tumbo, jajajajaja! Eso hagan ustedes, Ignorenlos y alomejor no se los tumban!

link removed due to security reasons.

7
mIRC/pawn Scripting / Need help on Login cmd
« on: May 19, 2014, 05:46:09 am »
Well, as the title says, I have a BIG problem with my login command, Sometimes it says that the password is wrong when its Correct, well, heres the CMD:

[pawn]else if ( strcmp( cmd, "conectar", true ) == 0 )
   {
      tmp = strtok( cmdtext, idx );
       if ( !strlen( tmp ) ) return SendClientMessage( playerid, COLOR_GREEN, "Usa /c Conectar (Clave)" );
       if ( IsRegistered( playerid ) ) return SendClientMessage( playerid, COLOR_RED, "Error: No Estas Registrado En El Server, Usa /c registrar" );
       if ( IsLoggedIn( playerid ) ) return SendClientMessage( playerid, COLOR_RED, "Error: Ya Estas Logueado!" );

       new pass_confirm[ 256 ];
       pass_confirm = dini_Get( file, "Password" );

       if ( strcmp( encrypt( tmp ), pass_confirm, true ) == 0 )
      {
          format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
         new level, stats, nogoto, noloc, cash, szMsg[ 128 ], IP[ 24 ];
         level = dini_Int( file, "Level" );
         stats = dini_Int( file, "Stats" );
         nogoto = dini_Int( file, "NoGoto" );
         noloc = dini_Int( file, "NoLoc" );
         cash = dini_Int( file, "Cash" );

         GetPlayerIp( playerid, IP, 24 );

         PlayerInfo[ playerid ][ Logged ] = 1;
         PlayerInfo[ playerid ][ Level ] = level;
         PlayerInfo[ playerid ][ Stats ] = stats;
         PlayerInfo[ playerid ][ NoGoto ] = nogoto;
         PlayerInfo[ playerid ][ NoLoc ] = noloc;

         UpDateFile( USERS_FILE, gPlayers[ playerid ], "Login", "1" );
         UpDateFile( USERS_FILE, gPlayers[ playerid ], "Ip", IP );

           SendClientMessageToAll(COLOR_YELLOW,">> %s Se a conectado correctamente.", gPlayers[playerid] );
         MensajePM( playerid, COLOR_GREEN, "Te as conectado correctamente." );
         format( szMsg, 128, "Tu IP:[ %s ]", IP );
         SendClientMessage( playerid, COLOR_GREEN, szMsg );
         format( szMsg, sizeof( szMsg ), "Nick:[ %s ] Nivel:[ %d ] Estado:[ %s ]", gPlayers[ playerid ], level, StatusTag( level ) );
         MensajePM( playerid, COLOR_GREEN, szMsg );
         SetPlayerMoney( playerid, cash );
      }
      else
      {
          PlayerInfo[ playerid ][ FalseLogins ]++;
          if ( PlayerInfo[ playerid ][ FalseLogins ] >= LOGIN_ATTEMPTS )
         {
              format(str, sizeof( str ), ">> %s a sido kickeado por [ Fallo Conectarse ]", gPlayers[ playerid ] );
              SendClientMessageToAll( COLOR_RED, str );
              PlayerInfo[ playerid ][ FalseLogins ] = 0;
              Kick( playerid );
         }
         else
         {
                SendClientMessageToAll(COLOR_YELLOW,">> %s a introducido la clave incorrecta.", gPlayers[playerid] );
             MensajePM( playerid, COLOR_RED, " Error: Clave Incorrecta." );
             GameTextForPlayer( playerid, "~o~Clave incorrecta.");
         }
      }
       return 1;
   }[/pawn]
Theres other bug, the auto-login bug, when you have the same IP, it dosent login, you have to use the /c conectar CMD to login
System:
[pawn]format( file, sizeof( file ), USERS_FILE, gPlayers[ playerid ] );
   loggedin = dini_Int( file, "Login" ), lluip = dini_Get( file, "Ip" );

   if ( dini_Exists( file ) )
   {
       if ( loggedin == 1 && CompariseIp( playerid ) == 1 )
      {
         new level, stats, nogoto, noloc, cash, szMsg[ 128 ];
         level = dini_Int( file, "Level" );
         stats = dini_Int( file, "Stats" );
         nogoto = dini_Int( file, "NoGoto" );
         noloc = dini_Int( file, "NoLoc" );
         cash = dini_Int( file, "Cash" );
         GetPlayerIp( playerid, IP, 24 );

         PlayerInfo[ playerid ][ Logged ] = 1;
         PlayerInfo[ playerid ][ Level ] = level;
         PlayerInfo[ playerid ][ Stats ] = stats;
         PlayerInfo[ playerid ][ NoGoto ] = nogoto;
         PlayerInfo[ playerid ][ NoLoc ] = noloc;
         MensajePM( playerid, COLOR_GREEN, "Te Has Auto-Logueado!" );
         format( szMsg, sizeof( szMsg ), "Nick:[ %s ] Nivel:[ %d ] Estado:[ %s ]", gPlayers[ playerid ], level,StatusTag( level ) );
         MensajePM( playerid, COLOR_GREEN, szMsg );
         SetPlayerMoney( playerid, 0 );
         SetPlayerMoney( playerid, cash );
      }
      else
      {
         MensajePM( playerid, COLOR_GREEN, "Porfavor Logueate Para Poder Usar Los Commandos." );
         MensajePM( playerid, COLOR_GREEN, "Usa /c conectar Para Loguearse" );
         TogglePlayerControllable(playerid, 1);
         PlayerInfo[ playerid ][ Logged ] = 0;
      }
   }
   else
   {
      MensajePM( playerid, COLOR_GREEN, "Tu Nick No Esta Registrado En El Server, Registrate" );
      MensajePM( playerid, COLOR_GREEN, "Para Proteger Tu Nick y Poder Usar Los Commandos" );
      MensajePM( playerid, COLOR_GREEN, "Usa /c Registrar Para Registrarse" );
      GameTextForPlayer( playerid,"~p~RE~x~~y~Gis~w~TRO ~o~NE~q~SECARIO");
      PlayerInfo[ playerid ][ Logged ] = 2;
      PlayerInfo[ playerid ][ Stats ] = 2;
   }

   return 1;
}[/pawn]
I have tryed and tryed to fix it but i CANT, dont know whats the problem, pls help, The GM base is Gups by the way

Pages: [1]