Problem with public!
#1

Hello,im have a problem with gamemode:
Код:
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]);
}
And errors:
Код:
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
Please help me!
(Sorry for my bad english,im from Romania)
Reply


Messages In This Thread
Problem with public! - by Longover - 26.12.2017, 17:15
Re: Problem with public! - by Barnwell - 26.12.2017, 17:16
Re: Problem with public! - by Longover - 26.12.2017, 17:21
Re: Problem with public! - by rfr - 26.12.2017, 17:22
EDIT: Problem with public! - by Longover - 26.12.2017, 17:23

Forum Jump:


Users browsing this thread: 1 Guest(s)