Few questions
#6

Q3 - issue solved,
Q1 - I use non-threaded queries, since its like "near to hell" changing to threaded queries in my script, that's okay, now in non-threaded queries the cache is saved automatically, but should I delete with the cache_delete(); ?
example
Код:
mysql_format(mysql,query,sizeof(query),"SELECT `clan`,`Clanscore` FROM `clans` ORDER BY `Clanscore` DESC LIMIT 30");
	mysql_query(mysql,query);
    if(cache_num_rows(mysql) > 0)
   	{
	    
	    for(new i = 0; i < cache_get_row_count(); i++)
        {
        cache_get_field_content(i, "clan", Clan);
        cache_get_field_content(i, "Clanscore",score);
        format(content,sizeof(content),"%s%s\t\t%s Score\n",content,Clan,score);
		}

	}
	else if(AdminLevel{playerid} < 4) return SendLangMessage(playerid, _COLOR_RED, "Es gibt keine Clans!","There are no Clans!","No hay clanes!");
now should i use cache_delete(Clan);
Reply


Messages In This Thread
Few questions - by DetoNater - 29.01.2016, 22:14
Re: Few questions - by xTURBOx - 30.01.2016, 03:52
Re: Few questions - by itsCody - 30.01.2016, 04:18
Re: Few questions - by DetoNater - 30.01.2016, 11:04
Re: Few questions - by Vince - 30.01.2016, 11:33
Re: Few questions - by DetoNater - 31.01.2016, 09:30
Re: Few questions - by DetoNater - 13.02.2016, 00:36
Re: Few questions - by Jefff - 13.02.2016, 01:33
Re: Few questions - by DetoNater - 13.02.2016, 13:36
Re: Few questions - by JeaSon - 13.02.2016, 14:11

Forum Jump:


Users browsing this thread: 1 Guest(s)