[Ayuda] 26 Errores y todo esta bueno..
#1

Код:
C:\Documents and Settings\---\DM.pwn(639) : error 017: undefined symbol "Nombre2"
C:\Documents and Settings\---\DM.pwn(645) : error 017: undefined symbol "Nombre2"
C:\Documents and Settings\---\DM.pwn(651) : error 017: undefined symbol "Nombre2"
C:\Documents and Settings\---\DM.pwn(657) : error 017: undefined symbol "Nombre2"
C:\Documents and Settings\---\DM.pwn(663) : error 017: undefined symbol "Nombre2"
C:\Documents and Settings\---\DM.pwn(669) : error 017: undefined symbol "Nombre2"
C:\Documents and Settings\---DM.pwn(700) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---DM.pwn(707) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---(713) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\--\DM.pwn(725) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(737) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(745) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---DM.pwn(753) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(759) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(767) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(775) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(786) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(794) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(802) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(810) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(818) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(826) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(833) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(847) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(855) : error 079: inconsistent return types (array & non-array)
C:\Documents and Settings\---\DM.pwn(866) : error 079: inconsistent return types (array & non-array)

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


26 Errors.
їUna ayudita?
Reply
#2

Seguro que olvidaste cerrar algъn callback o funciуn. Comprueba las llaves ('{' y '}').
Reply
#3

Mas probable, antes de la linea: 639, se te olvido cerrar un, "{, o }"
Reply
#4

Quote:
Originally Posted by [L3th4l]
Посмотреть сообщение
Mas probable, antes de la linea: 639, se te olvido cerrar un, "{, o }"
'{', en todo caso abrir.
Reply
#5

Quote:

їPor quй me salen estos 26 errores?
Los venditos 26 errores..., se solucionan actualizando la version de pawno que utilizamos.

https://sampforum.blast.hk/showthread.php?tid=148800
Reply
#6

Quote:
Originally Posted by SAMPGammer
Посмотреть сообщение
Pero cuando pasa eso tira otra clase de errores me parece :/
Reply
#7

Tal vez esto te pueda ayudar: Buscador de llaves
Reply
#8

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid,playerid,reason);
    SetPlayerScore(killerid,(GetPlayerScore(killerid))+5);
    Rank[killerid]++;
/*============================================================================*/
    new string[MAX_STRING];
    format(string,sizeof (string),"[MATANZA]%s A matado a %s",Nombre2(killerid),Nombre(playerid));
    SendClientMessageToAll(COLOR_GRIS,string);
/*============================================================================*/
No veo que falte nada.
Reply
#9

Quote:
Originally Posted by The_M
Посмотреть сообщение
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    SendDeathMessage(killerid,playerid,reason);
    SetPlayerScore(killerid,(GetPlayerScore(killerid))+5);
    Rank[killerid]++;
/*============================================================================*/
    new string[MAX_STRING];
    format(string,sizeof (string),"[MATANZA]%s A matado a %s",Nombre2(killerid),Nombre(playerid));
    SendClientMessageToAll(COLOR_GRIS,string);
/*============================================================================*/
No veo que falte nada.
A mi me parece que si, y es que no definistes Nombre y Nombre2.
pawn Код:
new Nombre[128];
new Nombre2[128];
Proba asi
Reply
#10

Код:
DM.pwn(642) : error 012: invalid function call, not a valid address
DM.pwn(642) : warning 215: expression has no effect
DM.pwn(642) : error 001: expected token: ";", but found ")"
DM.pwn(642) : error 029: invalid expression, assumed zero
DM.pwn(642) : fatal error 107: too many error messages on one line
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)