MySQL BlueG CMD unwarn
#3

Yes, but you still have to do it to check if the player has 0 warnings in the MySQL database.

How to change it to a newer version of MySQL BlueG.
Code:
stock MySQL_GetAccInt(column[], nick[])
{
	new string[128], value;
	format(string, sizeof(string), "SELECT `%s` FROM `accounts` WHERE `Nick` = '%s'", column, nick);
	mysql_query(string);
	mysql_store_result();
    if(mysql_num_rows())
    {
	   value = mysql_fetch_int();
    }
	mysql_free_result();
	return value;
}
EDIT: How the player is offline
Reply


Messages In This Thread
MySQL BlueG CMD unwarn - by KamilPolska - 22.12.2018, 22:43
Re: MySQL BlueG CMD unwarn - by zerruv - 22.12.2018, 23:36
Re: MySQL BlueG CMD unwarn - by KamilPolska - 23.12.2018, 10:38
Re: MySQL BlueG CMD unwarn - by KamilPolska - 23.12.2018, 20:00
Re: MySQL BlueG CMD unwarn - by Tenka - 24.12.2018, 07:47
Re: MySQL BlueG CMD unwarn - by KamilPolska - 24.12.2018, 17:44

Forum Jump:


Users browsing this thread: 1 Guest(s)