Mysql Problem!
#1

im keep getting spammed..

PHP код:
if(strcmp(cmd"/123"true) == 0)
                    {
                         
CheckQuery1(playerid);
                        return 
1;
                    } 
PHP код:
public CheckQuery1(playerid)
{
    new 
query[128];
    
mysql_format(mysql_dbquerysizeof(query), "SELECT * FROM players;");
    
mysql_tquery(mysql_dbquery"CheckQuery1");
    new 
string[60];
    
//CheckQuery1();
    //printf("Number of Accounts: %d.", cache_get_row_count());
    
format(stringsizeof(string), "Number of Accounts: %d."cache_get_row_count());
    
SendClientMessage(playeridCOLOR_REDstring);
    return 
1;

I type /123 and it spams..
Reply


Messages In This Thread
Mysql Problem! - by Ugaustin - 31.10.2015, 14:05
Re: Mysql Problem! - by Jefff - 31.10.2015, 17:54
Re: Mysql Problem! - by Macluawn - 31.10.2015, 20:17
Re: Mysql Problem! - by PrO.GameR - 01.11.2015, 08:55

Forum Jump:


Users browsing this thread: 1 Guest(s)