13.10.2013, 01:57
I think you have to remove the "const" from
And from the forward too,
More about consts..
So I think it should be like that ?
pawn Код:
public ReportToAdmins(const string[])
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;
}