Error 035: argument type mismatch (argument 2) x2.
#1

LINE: (31763) : error 035: argument type mismatch (argument 2)
LINE: (31765) : error 035: argument type mismatch (argument 2)

Here are the two lines:

31763
pawn Код:
SendToTesters(i, GREEN, string, 0);
31765
pawn Код:
SendToTesters(i, GREEN, string, 0);
Here is my SendToTesters part:

pawn Код:
public SendToTesters(colour, string[], requireduty)
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        if(IsPlayerConnectedEx(i))
        {
            if(Player[i][Tester] >= 1)
            {
                if(requireduty == 1 && Player[i][HelperDuty] == 1 && Player[i][AFKStat] == 0)
                {
                    SendClientMessage(i, colour, string);
                }
                else if(requireduty == 0)
                {
                    SendClientMessage(i, colour, string);
                }
            }
        }
    }
    return 1;
}
It is forwarded with:

pawn Код:
forward SendToTesters(colour, string[], requireduty);

Appreciate all the help I could get.
Reply


Messages In This Thread
Error 035: argument type mismatch (argument 2) x2. - by iGetty - 08.08.2011, 16:13
Re: Error 035: argument type mismatch (argument 2) x2. - by Sascha - 08.08.2011, 16:16
Respuesta: Error 035: argument type mismatch (argument 2) x2. - by OwlCity - 08.08.2011, 16:18
Re: Error 035: argument type mismatch (argument 2) x2. - by iGetty - 08.08.2011, 16:19

Forum Jump:


Users browsing this thread: 1 Guest(s)