Pawno Errors
#2

Quote:
Originally Posted by aDo7
Посмотреть сообщение
CMD
PHP код:
// Callbacks
forward OnQueryFinish(resultidextraidhandleid);
public 
OnQueryFinish(resultidextraidhandleid)
{
        new 
rowsfields;
    if(
resultid != SENDDATA_THREAD
        {
        if(
extraid != INVALID_PLAYER_ID
                {
            if(
g_arrQueryHandle{extraid} != -&& g_arrQueryHandle{extraid} != handleid) return 0;
        }
[
U][B][I][3036][/I][/B][/U] :        cache_get_data(rowsfieldsMainPipeline);
    }
    switch(
resultid)
    {
        case 
LOADMOTDDATA_THREAD:
        {
               for(new 
i;rows;i++)
            {
                new 
szResult[32];
                   
cache_get_field_content(i"gMOTD"GlobalMOTDMainPipeline);
                
cache_get_field_content(i"aMOTD"AdminMOTDMainPipeline);
                
cache_get_field_content(i"vMOTD"VIPMOTDMainPipeline);
                
cache_get_field_content(i"cMOTD"CAMOTDMainPipeline);
                
cache_get_field_content(i"pMOTD"pMOTDMainPipeline);
                
cache_get_field_content(i"ShopTechPay"szResultMainPipeline); ShopTechPay floatstr(szResult);
                break;
            }
        } 
Errors
PHP код:
D:\aDo7's Folder\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3028) : error 025: function heading differs from prototype
D:\aDo7'
s Folder\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3029) : error 025: function heading differs from prototype
D
:\aDo7's Folder\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : error 012: invalid function call, not a valid address
D:\aDo7'
s Folder\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : warning 215expression has no effect
D
:\aDo7's Folder\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : warning 215: expression has no effect
D:\aDo7'
s Folder\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : warning 215expression has no effect
D
:\aDo7's Folder\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : error 001: expected token: ";", but found ")"
D:\aDo7'
s Folder\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : error 029invalid expressionassumed zero
D
:\aDo7's Folder\de ely htt7t 3la el host 10l7l2013\gamemodes\NGRP_dfu.pwn(3036) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664              Copyright © 1997-2006, ITB CompuPhase
6 Errors. 
Please help me..
You need edit line it

Код:
// 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)