09.11.2013, 18:54
Hola, bueno.. soy yo, de nuevo.. (el mister problema), bueno.. tengo otro problema, lo que pasa es que me puse a agregar animaciones a mi gm, iba bien hasta que terminй una lista, y al compilar me tira unos errores, йstas son las lнneas que me afectan:
Y me tira los siguientes errores:
(QUIERO ACLARAR QUE LA LНNEA 135 A LA 159 SON LAS QUE PUSE ARRIBA, LA 159 ES EL RETURN 1, Y LA 139 ES EL "if(strcmp(cmd, "/seсagang6", true) == 0)").
BUENO, їSaben que ocurre? Es que a veces me tiraba esos errores, pero no sй como solucionar, los solucionaba antes cuando de repente me faltaba un ";" al final o el "( )" estaba mal puesto, pero ahora lo he revisado de pies a cabeza y deberнa de compilar bien.
Gracias, un saludo.
pawn Код:
if(strcmp(cmd, "/seсagang6", true) == 0)
ApplyAnimation(playerid, "GHANDS", "gsign3LH", 4.0, 1, 0, 0, 0, 0);
}
if(strcmp(cmd, "/seсagang7", true) == 0)
ApplyAnimation(playerid, "GHANDS", "gsign4", 4.0, 1, 0, 0, 0, 0);
}
if(strcmp(cmd, "/seсagang8", true) == 0)
ApplyAnimation(playerid, "GHANDS", "gsign4LH", 4.0, 1, 0, 0, 0, 0);
}
if(strcmp(cmd, "/seсagang9", true) == 0)
ApplyAnimation(playerid, "GHANDS", "gsign5", 4.0, 1, 0, 0, 0, 0);
}
if(strcmp(cmd, "/seсagang10'", true) == 0)
ApplyAnimation(playerid, "GHANDS", "gsign5LH", 4.0, 1, 0, 0, 0, 0);
}
if(strcmp(cmd, "/deteneranim", true) == 0) {
ClearAnimations(playerid);
}
return 1;
}
pawn Код:
D:\Archivos\Simon\Server samp\gamemodes\bare.pwn(135) : error 010: invalid function or declaration
D:\Archivos\Simon\Server samp\gamemodes\bare.pwn(139) : error 010: invalid function or declaration
D:\Archivos\Simon\Server samp\gamemodes\bare.pwn(143) : error 010: invalid function or declaration
D:\Archivos\Simon\Server samp\gamemodes\bare.pwn(147) : error 010: invalid function or declaration
D:\Archivos\Simon\Server samp\gamemodes\bare.pwn(151) : error 010: invalid function or declaration
D:\Archivos\Simon\Server samp\gamemodes\bare.pwn(155) : error 010: invalid function or declaration
D:\Archivos\Simon\Server samp\gamemodes\bare.pwn(159) : error 010: invalid function or declaration
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
7 Errors.
BUENO, їSaben que ocurre? Es que a veces me tiraba esos errores, pero no sй como solucionar, los solucionaba antes cuando de repente me faltaba un ";" al final o el "( )" estaba mal puesto, pero ahora lo he revisado de pies a cabeza y deberнa de compilar bien.
Gracias, un saludo.