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;
}
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.
if(strcmp(cmd, "/seсagang6", true) == 0){
ApplyAnimation(playerid, "GHANDS", "gsign3LH", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp(cmd, "/seсagang7", true) == 0){
ApplyAnimation(playerid, "GHANDS", "gsign4", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp(cmd, "/seсagang8", true) == 0){
ApplyAnimation(playerid, "GHANDS", "gsign4LH", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp(cmd, "/seсagang9", true) == 0){
ApplyAnimation(playerid, "GHANDS", "gsign5", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp(cmd, "/seсagang10'", true) == 0){
ApplyAnimation(playerid, "GHANDS", "gsign5LH", 4.0, 1, 0, 0, 0, 0);
return 1;
}
if(strcmp(cmd, "/deteneranim", true) == 0) {
ClearAnimations(playerid);
return 1;
}
if(strcmp(cmd, "/seсagang1", true) == 0) {
ApplyAnimation(playerid, "GHANDS", "gsign1", 4.0, 1, 0, 0, 0, 0);
}
if(strcmp(cmd, "/seсagang2", true) == 0) {
ApplyAnimation(playerid, "GHANDS", "gsign1LH", 4.0, 1, 0, 0, 0, 0);
}
if(strcmp(cmd, "/seсagang3", true) == 0) {
ApplyAnimation(playerid, "GHANDS", "gsign2", 4.0, 1, 0, 0, 0, 0);
}
if(strcmp(cmd, "/seсagang4", true) == 0) {
ApplyAnimation(playerid, "GHANDS", "gsign2LH", 4.0, 1, 0, 0, 0, 0);
}
if(strcmp(cmd, "/seсagang5", true) == 0)
ApplyAnimation(playerid, "GHANDS", "gsign3", 4.0, 1, 0, 0, 0, 0);
}
#pragma tabsize 0
Originally Posted by REGLAS
Codigo prohibido - Hay algunos '#pragma' que pueden ocultar advertencias y producir cуdigo ilegible. Si tu sabes
|
https://sampforum.blast.hk/showthread.php?tid=114080
SA-MP esta tratando de ke no lo utilicen a eso man. haciendo eso es ocmo ir a la escuela y copiarte y aprobar y no estaras aprendiendo, y ya ke aca estamos aprendiendo PAWN y si evitamos los errores asi no aprenderemos, y ke tambien evitando esos errores estaras haciendo mas errores futuros. saludos. |