argument type mismatch (argument 2)
#2

I think you have to remove the "const" from
pawn Код:
public ReportToAdmins(const string[])
And from the forward too,
More about consts..
So I think it should be like that ?
pawn Код:
new Text:Report[MAX_PLAYERS];
forward ReportToAdmins(string[]);
public ReportToAdmins(string[])
{
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
    if(IsPlayerConnected(i) == 1)
    if(pInfo[i][Adminlevel] >= 1 || IsPlayerAdmin(i))
    TextDrawShowForPlayer(i, Report[i]);
    TextDrawSetString(Report[i], string);
//  SaveLogs("Reports", string);
    SetTimer("ReportHide", 4000, 1);
    }
    return 1;
}
Reply


Messages In This Thread
argument type mismatch (argument 2) - by Cerealguy - 13.10.2013, 01:26
Re: argument type mismatch (argument 2) - by xVIP3Rx - 13.10.2013, 01:57
Re: argument type mismatch (argument 2) - by Zex Tan - 13.10.2013, 02:01
Respuesta: argument type mismatch (argument 2) - by Cerealguy - 13.10.2013, 02:48
Respuesta: argument type mismatch (argument 2) - by Cerealguy - 13.10.2013, 03:06

Forum Jump:


Users browsing this thread: 1 Guest(s)