Server restart
#8

Код HTML:
public MySQLCheckAccount(sqlplayersname[])
{
         new gQuery[128];
    gQuery[0] = (EOS);
	new escstr[MAX_PLAYER_NAME];
	mysql_escape_string(sqlplayersname, escstr);
	mysql_format(SQL, gQuery, sizeof(gQuery), "SELECT `ID` FROM `users` WHERE `name` = '%s' LIMIT 1", escstr);
	new Cache:result = mysql_query(SQL, gQuery);
	if(cache_num_rows())
	{
	    cache_delete(result);
		return 1;
	}
	cache_delete(result);
	return 0;
}
Reply


Messages In This Thread
Server restart - by Addons - 05.04.2016, 13:55
Re: Server restart - by Harty - 05.04.2016, 13:56
Re: Server restart - by Addons - 05.04.2016, 14:03
Re: Server restart - by AndySedeyn - 05.04.2016, 14:07
Re: Server restart - by Addons - 05.04.2016, 14:20
Re: Server restart - by AndySedeyn - 05.04.2016, 14:22
Re: Server restart - by Addons - 05.04.2016, 14:34
Re: Server restart - by Morpheine - 05.04.2016, 17:14
Re: Server restart - by Addons - 05.04.2016, 18:15

Forum Jump:


Users browsing this thread: 3 Guest(s)