SA-MP Forums Archive
(146550) : warning 202: number of arguments does not match definition - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: (146550) : warning 202: number of arguments does not match definition (/showthread.php?tid=587387)



(146550) : warning 202: number of arguments does not match definition - thaihan - 30.08.2015

Warning log.
PHP код:
C:\Documents and Settings\Admin\Desktop\VnMgo.1.6\gamemodes\vnit.pwn(146549) : warning 202number of arguments does not match definition 
PHP код:
        case 4:
        {
            new 
string[64];
            
format(string,64,"%s\nChienThang!",GetRacerName(RaceWinner));
            
Update3DTextLabelText(CowNames[RaceWinner],COLOR_WINNER,string);
            
Update3DTextLabelText(RaceStart,COLOR_WINNER,string);
            
OnRaceEnd();//line 146550
            
RaceStep=5;
            
SetTimer("OnRaceUpdate",5000,0);
        } 
help me.


Re: (146550) : warning 202: number of arguments does not match definition - bensmart469 - 30.08.2015

Show us the start of your OnRaceEnd code. As you said in the title, the warning is coming from 'OnRaceEnd' so we need to see if there are any additional arguments required for it.


Re: (146550) : warning 202: number of arguments does not match definition - thaihan - 30.08.2015

I did it, thanks.

Sory my bad english.