C:\Documents and Settings\user\Desktop\LarryDM\pawno\include\MTA_LOAD.inc(226) : warning 219: local variable "mapValues" shadows a variable at a preceding level C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(939) : error 017: undefined symbol "MAX_STRING" C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(939) : error 009: invalid array size (negative, zero or out of bounds) C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(939) : error 036: empty statement C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(939) : fatal error 107: too many error messages on one line Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 4 Errors.
C:\Documents and Settings\user\Desktop\LarryDM\pawno\include\MTA_LOAD.inc(226) : warning 219: local variable "mapValues" shadows a variable at a preceding level
CMD:start(playerid, params[]){ new mapN[156]; 226 format(mapN,156,"DMRace/%s/objects.map",params); format(mapN3,156,"DMRace/%s/meta.xml",params);
C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(939) : error 017: undefined symbol "MAX_STRING" C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(939) : error 009: invalid array size (negative, zero or out of bounds) C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(939) : error 036: empty statement C:\Documents and Settings\user\Desktop\LarryDM\gamemodes\dmrace.pwn(939) : fatal error 107: too many error messages on one line
stock trcar(car[]) { new tmp[MAX_STRING];939 set(tmp,car); tmp=strreplace("[","(",tmp); tmp=strreplace("]",")",tmp); return tmp; }
stock trcar(car[])
{
new i = 0;
while(car[i])
{
if(car[i] == '[') car[i] = '(';
if(car[i] == ']') car[i] = ')';
i++;
}
return car;
}
new mapValues;
public Someting()
{
new mapValues;
return 1;
}
Line 226 is in MTA_LOAD.inc
939 replace to pawn Код:
pawn Код:
|
C:\Documents and Settings\user\Desktop\LarryDM\pawno\include\MTA_LOAD.inc(226) : warning 219: local variable "mapValues" shadows a variable at a preceding level C:\DOCUME~1\user\Desktop\LarryDM\GAMEMO~1\dmrace.pwn(1099) : warning 204: symbol is assigned a value that is never used: "ServerVoted" Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase 2 Warnings.
stock ProgressForMap(){ KillTimer(UMapTimer); UMapTimer = SetTimer("ServerData_UpdateMAP", 800, true); ServerData[Loading] = true; SendClientMessageToAll(COLOR_MTA, "Map loading in 7 seconds.."); SetTimer("serverData_SetMAP", 7 * 1000, false); ServerData[Vote]=0; ServerVoted = false; [1099] ServerData[Started] = false;