[Ayuda] errores al compilar en pawno
#1

Hola.

Tengo un problema y es cuando compilo mi gm me salen estos errores :/

Alguien me podria decir que pasa?

Quote:

C:\Users\Space\Desktop\xD\gamemodes\HistoryRP.pwn( 1) : error 010: invalid function or declaration
C:\Users\Space\Desktop\xD\gamemodes\HistoryRP.pwn( 5276) : warning 204: symbol is assigned a value that is never used: "string"
C:\Users\Space\Desktop\xD\gamemodes\HistoryRP.pwn( 8522) : error 047: array sizes do not match, or destination array is too small
C:\Users\Space\Desktop\xD\gamemodes\HistoryRP.pwn( 8543) : error 047: array sizes do not match, or destination array is too small
C:\Users\Space\Desktop\xD\gamemodes\HistoryRP.pwn( 39979) : error 047: array sizes do not match, or destination array is too small
C:\Users\Space\Desktop\xD\gamemodes\HistoryRP.pwn( 40027) : error 047: array sizes do not match, or destination array is too small
C:\Users\Space\Desktop\xD\gamemodes\HistoryRP.pwn( 66167) : warning 203: symbol is never used: "VehicleColoursTableRGBA"
Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase

Gracias.
Reply
#2

Muestra las lineas que corresponden a 8522, 8543 etc.
Reply
#3

es porque usas mбs celdas de lo que has definido
Reply
#4

Ya solucione lo de los errores, ahora quedaron los 2 warnings... que son estos

5276 : new string[128];

y en la linea 66167 no aparece nada esta en blanco.. pero por si acaso arriba de la linea esta esto..

Quote:

stock ReproducirCancionParaTodos(link[]){


for(new i, l = GetMaxPlayers();i<l;i++) if(IsPlayerConnected(i))
if(!EscucharMusica[i])
{
PlayAudioStreamForPlayer(i, link); // http://inwardgames.com/levelup.ogg PlayAudioStreamForPlayer(playerid, http://inwardgames.com/levelup.ogg);
}
}

Gracias por responder.
Reply
#5

el primer warning porque le asignas valor a 'string' y no lo usas.
El segundo warning es porque tienes definido 'VehicleColoursTableRGBA' y no lo usas (osea es innecesario tenerlo definido)
Reply
#6

ok miren borre esas 2 lineas y ahora me sale estos errores...

Quote:

C:\Users\Juan1226\Desktop\xD\gamemodes\HistoryRP.p wn(73) : error 010: invalid function or declaration
C:\Users\Juan1226\Desktop\xD\gamemodes\HistoryRP.p wn(87) : error 010: invalid function or declaration
C:\Users\Juan1226\Desktop\xD\gamemodes\HistoryRP.p wn(100) : error 010: invalid function or declaration
C:\Users\Juan1226\Desktop\xD\gamemodes\HistoryRP.p wn(5255) : error 017: undefined symbol "string"
C:\Users\Juan1226\Desktop\xD\gamemodes\HistoryRP.p wn(5255) : error 017: undefined symbol "string"
C:\Users\Juan1226\Desktop\xD\gamemodes\HistoryRP.p wn(5255) : error 029: invalid expression, assumed zero
C:\Users\Juan1226\Desktop\xD\gamemodes\HistoryRP.p wn(5255) : fatal error 107: too many error messages on one line

Compilation aborted.Pawn compiler 3.2.3664 Copyright © 1997-2006, ITB CompuPhase


7 Errors.

Aca esta lo que dicen las lineas...



Quote:

en la linea 73 aparece esto : 0x000000FF, 0xF5F5F5FF, 0x2A77A1FF, 0x840410FF, 0x263739FF, 0x86446EFF, 0xD78E10FF, 0x4C75B7FF, 0xBDBEC6FF, 0x5E7072FF,

en la 87 esto : 0x177517FF, 0x210606FF, 0x125478FF, 0x452A0DFF, 0x571E1EFF, 0x010701FF, 0x25225AFF, 0x2C89AAFF, 0x8A4DBDFF, 0x35963AFF,

en la 100 : };

y en la 5255 esto : format(string, sizeof(string), "{FFFFFF}Direccion IP: %s\nBienvenido de nuevo!\nIngresa tu contraseсa para conectarte al servidor.\n\n{00B500}Contraseсa:", ip);

Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)