[URGENTE] ZCMD Y errores de la nada.
#1

Tenнa todo OK, empecй a agregar unos comandos de SPECIAL_ACTIONS, cuando termino y me salen estos errores del compilador:

Код:
gamemodes\Gm1.pwn(354) : error 017: undefined symbol "LoadScore"
gamemodes\Gm1.pwn(386) : error 017: undefined symbol "SaveScore"
gamemodes\Gm1.pwn(577) : error 017: undefined symbol "SaveScore"
gamemodes\Gm1.pwn(690) : warning 225: unreachable code
gamemodes\Gm1.pwn(690) : error 029: invalid expression, assumed zero
gamemodes\Gm1.pwn(690) : error 017: undefined symbol "cmd_cambiar"
gamemodes\Gm1.pwn(690) : error 029: invalid expression, assumed zero
gamemodes\Gm1.pwn(690) : fatal error 107: too many error messages on one line

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


7 Errors.
1- Load Score y Save Score NUNCA tuvieron problemas antes, ni los toque.
2- Lнnea 690 acб:

pawn Код:
COMMAND:cambiar(playerid,params[]){
{
SendClientMessage(playerid,COLOR_HOTPINK,"Server: {00FF00}Ahora elije tu equipo!");
ForceClassSelection(playerid);
PlayerPlaySound(playerid,1159,0.0,0.0,0.0);
SetPlayerHealth(playerid,0.0);
return 1;
}
Reply
#2

Solucion:
pawn Код:
COMMAND:cambiar(playerid,params[])
{
    SendClientMessage(playerid,COLOR_HOTPINK,"Server: {00FF00}Ahora elije tu equipo!");
    ForceClassSelection(playerid);
    PlayerPlaySound(playerid,1159,0.0,0.0,0.0);
    SetPlayerHealth(playerid,0.0);
    return 1;
}
Explicacion:
Tenias un '{' de mas (al inicio).

Extra:
Por favor lee Uso de Tags
Reply
#3

Duh, que tonto mi error .. Gracias de todas maneras.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)