- 1 Luglio 2011
- 131
- 0
- Miglior risposta
- 0
ciao volevo chiedervi un piccolo aiutino su questo errore che mi da pawno:
Le righe:
C:\Users\Michele\Desktop\New Mexico\gamemodes\New Mexico.pwn(11) : error 017: undefined symbol "pstats"
C:\Users\Michele\Desktop\New Mexico\gamemodes\New Mexico.pwn(11) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Michele\Desktop\New Mexico\gamemodes\New Mexico.pwn(47) : error 001: expected token: ")", but found "["
C:\Users\Michele\Desktop\New Mexico\gamemodes\New Mexico.pwn(47) : warning 215: expression has no effect
C:\Users\Michele\Desktop\New Mexico\gamemodes\New Mexico.pwn(47) : error 001: expected token: ";", but found "]"
C:\Users\Michele\Desktop\New Mexico\gamemodes\New Mexico.pwn(47) : error 029: invalid expression, assumed zero
C:\Users\Michele\Desktop\New Mexico\gamemodes\New Mexico.pwn(47) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
C:\Users\Michele\Desktop\New Mexico\gamemodes\New Mexico.pwn(11) : error 009: invalid array size (negative, zero or out of bounds)
C:\Users\Michele\Desktop\New Mexico\gamemodes\New Mexico.pwn(47) : error 001: expected token: ")", but found "["
C:\Users\Michele\Desktop\New Mexico\gamemodes\New Mexico.pwn(47) : warning 215: expression has no effect
C:\Users\Michele\Desktop\New Mexico\gamemodes\New Mexico.pwn(47) : error 001: expected token: ";", but found "]"
C:\Users\Michele\Desktop\New Mexico\gamemodes\New Mexico.pwn(47) : error 029: invalid expression, assumed zero
C:\Users\Michele\Desktop\New Mexico\gamemodes\New Mexico.pwn(47) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
6 Errors.
Le righe:
11: new statistiche[MAX_PLAYERS][pstats];
47: INI_String("Nome",statistiche[playerid][sNome],24);
se rimuovo la righa 47 l'errore me lo da alle righe:
48: INI_String("Cognome",statistiche[playerid][sCognome],24);
50:INI_String("Provenienza",statistiche[playerid][sProvenienza],24);
enum:
enum pStats {
sPassword,
sNome[MAX_PLAYER_NAME],
sCognome[MAX_PLAYER_NAME],
sEta,
sProvenienza[MAX_PLAYER_NAME],
sAdmin,
sScore,
sSoldi,
}
47: INI_String("Nome",statistiche[playerid][sNome],24);
se rimuovo la righa 47 l'errore me lo da alle righe:
48: INI_String("Cognome",statistiche[playerid][sCognome],24);
50:INI_String("Provenienza",statistiche[playerid][sProvenienza],24);
enum:
enum pStats {
sPassword,
sNome[MAX_PLAYER_NAME],
sCognome[MAX_PLAYER_NAME],
sEta,
sProvenienza[MAX_PLAYER_NAME],
sAdmin,
sScore,
sSoldi,
}