Errors die ich nicht verstehe und mir einfach nicht erklären kann...ich hoffe jEMAND KANN helfen
C:\Users\Hendo\Desktop\SAMP HERZ\gamemodes\Hayfun.pwn(2313) : error 003: declaration of a local variable must appear in a compound block
C:\Users\Hendo\Desktop\SAMP HERZ\gamemodes\Hayfun.pwn(2314) : warning 217: loose indentation
C:\Users\Hendo\Desktop\SAMP HERZ\gamemodes\Hayfun.pwn(2314) : error 017: undefined symbol "sql"
C:\Users\Hendo\Desktop\SAMP HERZ\gamemodes\Hayfun.pwn(2314) : warning 215: expression has no effect
C:\Users\Hendo\Desktop\SAMP HERZ\gamemodes\Hayfun.pwn(2314) : error 001: expected token: ";", but found "]"
C:\Users\Hendo\Desktop\SAMP HERZ\gamemodes\Hayfun.pwn(2314) : error 029: invalid expression, assumed zero
C:\Users\Hendo\Desktop\SAMP HERZ\gamemodes\Hayfun.pwn(2314) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Zeile 2314
stock SavePlayer(p)
{
if(p == 0)
new
sql[384], // Zeile 2314
Name[32],
message[32];
samp_mysql_real_escape_string(PlayerInfo[p][pName], Name);
format(sql, sizeof(sql), "UPDATE Player SET pName='%s' WHERE id=%d",PlayerInfo[p][pName],p);
samp_mysql_query(sql);
return 1;
}
danke