[Ayuda]
#1

їPorque me da estos errores?
pawn Код:
C:\Users\Jean Carlos\Desktop\Zona Return Roleplay 0.3z\gamemodes\Gamemode.pwn(108) : warning 217: loose indentation
C:\Users\Jean Carlos\Desktop\Zona Return Roleplay 0.3z\gamemodes\Gamemode.pwn(108) : error 029: invalid expression, assumed zero
C:\Users\Jean Carlos\Desktop\Zona Return Roleplay 0.3z\gamemodes\Gamemode.pwn(108) : error 004: function "S@@_OnPlayerRequestClass" is not implemented
C:\Users\Jean Carlos\Desktop\Zona Return Roleplay 0.3z\gamemodes\Gamemode.pwn(119) : warning 217: loose indentation
Pawn compiler 3.2.3664          Copyright (c) 1997-2006, ITB CompuPhase


2 Errors.
Codigo donde estб el error.

pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
   if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOGO_LOGUEO, DIALOG_STYLE_INPUT,"Cuenta registrada","Contraseсa:","Ingresar","Salir");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOGO_REGISTRO, DIALOG_STYLE_INPUT,"Cuenta no registrada","Contraseсa:","Siguiente","Salir");
    }
    return 1;
    }
    }
Reply
#2

Prueba:
pawn Код:
public OnPlayerRequestClass(playerid, classid)
{
   if(fexist(UserPath(playerid)))
    {
        INI_ParseFile(UserPath(playerid), "LoadUser_%s", .bExtra = true, .extra = playerid);
        ShowPlayerDialog(playerid, DIALOGO_LOGUEO, DIALOG_STYLE_INPUT,"Cuenta registrada","Contraseсa:","Ingresar","Salir");
    }
    else
    {
        ShowPlayerDialog(playerid, DIALOGO_REGISTRO, DIALOG_STYLE_INPUT,"Cuenta no registrada","Contraseсa:","Siguiente","Salir");
    }
    return 1;
    }
Reply
#3

Me da mas errores.
Reply
#4

їPero siguen siendo del mismo cуdigo?
Reply
#5

Quote:
Originally Posted by Ghost112397
Посмотреть сообщение
їPero siguen siendo del mismo cуdigo?
Mira como termina onplayerrequestclass y te darбs cuenta.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)