9 Errors in GM - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 9 Errors in GM (
/showthread.php?tid=229193)
9 Errors in GM -
...:Lucian:... - 21.02.2011
Код:
D:\G@MES (Lucian™)\GTA San Andreas\DSK-Server\gamemodes\DSK-Server.pwn(101) : error 029: invalid expression, assumed zero
D:\G@MES (Lucian™)\GTA San Andreas\DSK-Server\gamemodes\DSK-Server.pwn(101) : error 008: must be a constant expression; assumed zero
D:\G@MES (Lucian™)\GTA San Andreas\DSK-Server\gamemodes\DSK-Server.pwn(161) : error 029: invalid expression, assumed zero
D:\G@MES (Lucian™)\GTA San Andreas\DSK-Server\gamemodes\DSK-Server.pwn(188) : error 029: invalid expression, assumed zero
D:\G@MES (Lucian™)\GTA San Andreas\DSK-Server\gamemodes\DSK-Server.pwn(188) : error 008: must be a constant expression; assumed zero
D:\G@MES (Lucian™)\GTA San Andreas\DSK-Server\gamemodes\DSK-Server.pwn(553) : error 017: undefined symbol "TurfInfo"
D:\G@MES (Lucian™)\GTA San Andreas\DSK-Server\gamemodes\DSK-Server.pwn(553) : warning 215: expression has no effect
D:\G@MES (Lucian™)\GTA San Andreas\DSK-Server\gamemodes\DSK-Server.pwn(553) : error 001: expected token: ";", but found "]"
D:\G@MES (Lucian™)\GTA San Andreas\DSK-Server\gamemodes\DSK-Server.pwn(553) : error 029: invalid expression, assumed zero
D:\G@MES (Lucian™)\GTA San Andreas\DSK-Server\gamemodes\DSK-Server.pwn(553) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase
9 Errors.
Linia 101
Код:
new TeamInfo[ MAX_TEAMS ][ teaminfo ]= {
{ "Aztecas", AZTECAS_COLOR, 0, 0, 0, 0, 0},
{ "Vagos", VAGOS_COLOR, 0, 0, 0, 0, 0},
{ "Ballas", BALLAS_COLOR, 0, 0, 0, 0, 0},
{ "Grove", GROVE_COLOR, 0, 0, 0, 0, 0},
{ "DSK", DSK_COLOR, 0, 0, 0, 0, 0},
};
linia 161
Код:
new Float:checkCoords[ MAX_POINTS ][ 4 ] = {
{ 284.2472, -41.8122, 300.0394, -31.2338 }, //AMMUNATION
{ 284.0852, -112.7093, 298.1693, -102.9225 } //AMMUNATION_2
linia 188
Код:
"M4",
"Sniper Rifle",
};
linia 553
Код:
for (new t=0; t<MAX_TURFS; t++)
{
GangZoneCreate( turfs[ t ][zMinX], turfs[ t ][zMinY], turfs[ t ][zMaxX], turfs[ t ][zMaxY] );
for (new teams=0; teams<MAX_TEAMS; teams++) TurfInfo[ t ][ teams ][ MIT ]=0;
}
HELP ME PLEASE
Re: 9 Errors in GM -
hadzx - 21.02.2011
well for starters you missed out a "," at the end of ammmunation 2 line
Re: 9 Errors in GM -
...:Lucian:... - 21.02.2011
Код:
new Float:checkCoords[ MAX_POINTS ][ 4 ] = {
this line 161....
Код:
error 029: invalid expression, assumed zero
Re: 9 Errors in GM -
Mihai_Marius - 22.02.2011
la linia 161 :
Код:
new Float:checkCoords[ MAX_POINTS ][ 2 ] = {
sunt 2 coordonate nu 4
Daca sunt 4 lasi 4