#1

Hey guys, i asked this in my thread last night, but answer i got didnt work

pawn Код:
format ( string, sizeof ( string ), "SELECT * FROM `Users` WHERE `Name` = '%s'", UserStats [ playerid ] [ Name ] );
mysql_query ( string );
mysql_store_result ( );
if ( mysql_num_rows ( ) != 0 )
{
    //Registered.
}
else
{
    //Not registered.
}
i was told to use that to detect if player is registered or not, but it didnt work, it still send register dialog, no login. How could i correctly detect
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)