Warning O_O
#1

pawn Код:
(3978) : warning 202: number of arguments does not match definition
pawn Код:
new
                string[128]
            ;
            format(string, sizeof(string),">> \"%d\" seconds till \"%s\" named race starts! Type \"/joinrace\" to join the race.",">> Mancano \"%d\" all'inizio della gara \"%s\"! Scrivi \"/joinrace\" per partecipare alla gara.", CountAmount, RaceName);//,">> Mancano \"%d\" all'inizio della gara \"%s\"! Scrivi \"/joinrace\" per partecipare alla gara."
            SendClientMessageToAllLang(GREEN, string);//3978
pawn Код:
SendClientMessageToAllLang(color, langeng[], langpl[], define1[]="", str=0,str2=0, define2[]="", define3[]="", define4[]="",str3=0)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnected(i))
        {
            SendClientMessageLang(i, color,langeng, langpl, define1, str, str2, define2, define3, define4,str3);
        }
    }
}
Reply
#2

SendClientMessageToAllLang is expecting at least 3 arguments passed. You put just colour and string.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)