1
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.
im not using GUPS , IM Using OTher Kind Of Script Not SQ , just im using other pawn server.
i dont know how to fix that when i remove getplayerlocation its bug
help me please
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 );
}
}
return 1;
}
my server is not pawn and i have the rules cmd but i want tip ...
i meat it's get auto show "TIP:type !rules to get the rules"
"TIP:PLEASE follow the rules and don't hack" something as that ...
YO jim it's ahmed123 in vccnr xD