Hello,im have a problem with gamemode:
And errors:
Please help me!
(Sorry for my bad english,im from Romania) :)
Code:
public Reportul(playerid)
{
ReportTime[playerid] = 0;
format(reporttext[playerid], 30, "NULL");
format(cheattext[playerid], 30, "NULL");
reportcheater[playerid] = -1;
reportreason[playerid] = 0;
if(playerreported[playerid] != -1)
{
reportreason[playerreported[playerid]] = 0;
}
playerreported[playerid] = -1;
KillTimer(timerreport[playerid]);
}
Code:
C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : error 028: invalid subscript (not an array or too many subscripts): "ReportTime"
C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : warning 215: expression has no effect
C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : error 001: expected token: ";", but found "]"
C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : error 029: invalid expression, assumed zero
C:\Program Files\Cops And Robbers Romania\gamemodes\test1.pwn(1029) : fatal error 107: too many error messages on one line
(Sorry for my bad english,im from Romania) :)