08.08.2011, 16:13
LINE: (31763) : error 035: argument type mismatch (argument 2)
LINE: (31765) : error 035: argument type mismatch (argument 2)
Here are the two lines:
31763
31765
Here is my SendToTesters part:
It is forwarded with:
Appreciate all the help I could get.
LINE: (31765) : error 035: argument type mismatch (argument 2)
Here are the two lines:
31763
pawn Код:
SendToTesters(i, GREEN, string, 0);
pawn Код:
SendToTesters(i, GREEN, string, 0);
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;
}
pawn Код:
forward SendToTesters(colour, string[], requireduty);
Appreciate all the help I could get.