Pawno Errors
#8

Copy And Remplace It With This:

Код:
// Callbacks
forward OnQueryFinish(resultid, extraid, handleid);
public OnQueryFinish(resultid, extraid, handleid)
{
        new rows, fields;
	if(resultid != SENDDATA_THREAD) 
        {
		if(extraid != INVALID_PLAYER_ID) 
                {
		     if(g_arrQueryHandle{extraid} != -1 && g_arrQueryHandle{extraid} != handleid) return 0;
		}
		cache_get_data(rows, fields, MainPipeline);
	}
	switch(resultid)
	{
		case LOADMOTDDATA_THREAD:
		{
   			for(new i;i < rows;i++)
			{
			        new szResult[32];
   				cache_get_field_content(i, "gMOTD", GlobalMOTD, MainPipeline);
				cache_get_field_content(i, "aMOTD", AdminMOTD, MainPipeline);
				cache_get_field_content(i, "vMOTD", VIPMOTD, MainPipeline);
				cache_get_field_content(i, "cMOTD", CAMOTD, MainPipeline);
				cache_get_field_content(i, "pMOTD", pMOTD, MainPipeline);
				cache_get_field_content(i, "ShopTechPay", szResult, MainPipeline); ShopTechPay = floatstr(szResult);
				break;
			}
		}
Reply


Messages In This Thread
Pawno Errors - by aDo7 - 02.11.2013, 22:51
Re: Pawno Errors - by nguyenquynh - 03.11.2013, 04:09
Re: Pawno Errors - by aDo7 - 03.11.2013, 10:55
Re: Pawno Errors - by aDo7 - 03.11.2013, 11:06
Re: Pawno Errors - by rappy93 - 03.11.2013, 11:10
Re: Pawno Errors - by aDo7 - 03.11.2013, 11:16
Re: Pawno Errors - by rappy93 - 03.11.2013, 11:19
Re : Pawno Errors - by samp_boy - 03.11.2013, 11:24
Re: Pawno Errors - by aDo7 - 03.11.2013, 11:28
Re: Pawno Errors - by aDo7 - 03.11.2013, 11:48

Forum Jump:


Users browsing this thread: 1 Guest(s)