31.08.2013, 14:50
(
Последний раз редактировалось Lisaax; 31.08.2013 в 19:39.
)
I have this erros
C:\Documents and Settings\Lisa\Bureaublad\servers\VLRP\gamemodes\SX RP.pwn(1371) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lisa\Bureaublad\servers\VLRP\gamemodes\SX RP.pwn(1371) : warning 215: expression has no effect
C:\Documents and Settings\Lisa\Bureaublad\servers\VLRP\gamemodes\SX RP.pwn(1371) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Lisa\Bureaublad\servers\VLRP\gamemodes\SX RP.pwn(1371) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lisa\Bureaublad\servers\VLRP\gamemodes\SX RP.pwn(1371) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
This is the code
The specific line is this
C:\Documents and Settings\Lisa\Bureaublad\servers\VLRP\gamemodes\SX RP.pwn(1371) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lisa\Bureaublad\servers\VLRP\gamemodes\SX RP.pwn(1371) : warning 215: expression has no effect
C:\Documents and Settings\Lisa\Bureaublad\servers\VLRP\gamemodes\SX RP.pwn(1371) : error 001: expected token: ";", but found "]"
C:\Documents and Settings\Lisa\Bureaublad\servers\VLRP\gamemodes\SX RP.pwn(1371) : error 029: invalid expression, assumed zero
C:\Documents and Settings\Lisa\Bureaublad\servers\VLRP\gamemodes\SX RP.pwn(1371) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
4 Errors.
This is the code
Код:
stock SendReportToQueue(reportfrom, report[]) { new bool:breakingloop = false, newid = INVALID_REPORT_ID; for(new i=0;i<MAX_REPORTS;i++) { if(!breakingloop) { if(Reports[i][HasBeenUsed] == 0) { breakingloop = true; newid = i; } } } if(newid != INVALID_REPORT_ID) { strmid(Reports[newid][Report], report, 0, strlen(report), 128); Reports[newid][ReportFrom] = reportfrom; Reports[newid][TimeToExpire] = 5; Reports[newid][HasBeenUsed] = 1; Reports[newid][BeingUsed] = 1; Reports[newid][ReportExpireTimer] = SetTimerEx("ReportTimer", 60000, 0, "d", newid); new string[128]; format(string, sizeof(string), "Report from [%i] %s (RID: %i): %s", reportfrom, GetPlayerNameEx(reportfrom), newid, (report)); ABroadCast(COLOR_REPORT,string,1); } else { ClearReports(); SendReportToQueue(reportfrom, report); } }
Код:
if(Reports[i][HasBeenUsed] == 0)