View Single Post
jonatat
Senior Member
Join Date: Dec 2017
Old 04-17-2021 , 13:08   Re: Whats wrong in this mysql?
Reply With Quote #4

Quote:
Originally Posted by Shadows Adi View Post
Try this:
PHP Code:
public client_putinserver(id// In this phase the user can be affected by the commands
{
    new 
auth[32]; 
    
get_user_authid(idauthsizeof (auth));

    new 
Handle:query SQL_PrepareQuery(g_sql"SELECT * FROM `users` WHERE (`steam_id` = '%s')"auth); 
    
SQL_Execute(query); 

    if (!
SQL_NumResultsquery)) // If no results found, kick the player
    

        
server_cmd("kick #%i ^"%s^""get_user_userid(id), restrict_msg); 
    }
    
SQL_FreeHandle(query); // Free the query

Same problem... I dont get it why...
jonatat is offline