[Ajuda] Alguйm pode me ajudar?
#1

To tentando compilar essa birosca mais eu nгo acho o erro (sou aprendiz em pawn ainda)

DA ESSE ERRO:

Quote:

C:\Users\Poseidon\Desktop\SERVER\filterscripts\Adm in.pwn(81) : warning 217: loose indentation
C:\Users\Poseidon\Desktop\SERVER\filterscripts\Adm in.pwn(84) : warning 225: unreachable code
C:\Users\Poseidon\Desktop\SERVER\filterscripts\Adm in.pwn(84) : warning 217: loose indentation
C:\Users\Poseidon\Desktop\SERVER\filterscripts\Adm in.pwn(87) : error 012: invalid function call, not a valid address
C:\Users\Poseidon\Desktop\SERVER\filterscripts\Adm in.pwn(87) : warning 215: expression has no effect
C:\Users\Poseidon\Desktop\SERVER\filterscripts\Adm in.pwn(87) : error 001: expected token: ";", but found ")"
C:\Users\Poseidon\Desktop\SERVER\filterscripts\Adm in.pwn(87) : error 029: invalid expression, assumed zero
C:\Users\Poseidon\Desktop\SERVER\filterscripts\Adm in.pwn(87) : fatal error 107: too many error messages on one line

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


4 Errors.

LINHAS:

Quote:

public OnPlayerConnect(playerid)
{
GetPlayerName(playerid, Nome, sizeof(Nome));
format(String, sizeof(String), Players, Nome);
if(!DOF2::FileExists(String))
{
format(String, sizeof(String), "\n{7FFFD4}Nick: {1E90FF}%s Nгo Registrado\n\n{FFFFFF} Digite Uma Senha Para Registrar Sua Conta\n", Nome);
ShowPlayerDialog(playerid, REGISTRO, DIALOG_STYLE_PASSWORD, "Sistema de Registro", String, "Registrar", "Cancelar");
}
else format(String, sizeof(String), "\n{7FFFD4}Nick: {1E90FF}%s Registrado\n\n{FFFFFF} Digite sua Senha Corretamente para Logar\n", Nome),
ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_PASSWORD, "Sistema de Login", String, "Logar", "Cancelar");
return true;


PInfo[playerid][GAdmin] = 0;
PInfo[playerid][SpecOn] = 0;

format(gstring, sizeof(gstring), Players, Nome(playerid));
PInfo[playerid][GAdmin] = dini_Int(gstring, "AdminL");
return 1;
}

Reply
#2

pawn Код:
public OnPlayerConnect(playerid)
{
    GetPlayerName(playerid, Nome, sizeof(Nome));
    format(String, sizeof(String), Players, Nome);
    if(!DOF2::FileExists(String))
    {
        format(String, sizeof(String), "\n{7FFFD4}Nick: {1E90FF}%s Nгo Registrado\n\n{FFFFFF} Digite Uma Senha Para Registrar Sua Conta\n", Nome);
        ShowPlayerDialog(playerid, REGISTRO, DIALOG_STYLE_PASSWORD, "Sistema de Registro", String, "Registrar", "Cancelar");
    }
    else
    {
        format(String, sizeof(String), "\n{7FFFD4}Nick: {1E90FF}%s Registrado\n\n{FFFFFF} Digite sua Senha Corretamente para Logar\n", Nome);
        ShowPlayerDialog(playerid, LOGIN, DIALOG_STYLE_PASSWORD, "Sistema de Login", String, "Logar", "Cancelar");
    }

    PInfo[playerid][GAdmin] = 0;
    PInfo[playerid][SpecOn] = 0;

    format(gstring, sizeof(gstring), Players, Nome(playerid));
    PInfo[playerid][GAdmin] = dini_Int(gstring, "AdminL");
    return 1;
}
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)