El comando me cierra el pawno.
#2

CREO que te faltу un "}" y por eso crashea:
pawn Код:
CMD:certificar, playerid, params[])
{
    if(PlayerInfo[playerid][pAdmin] < 4) return SendClientMessage(playerid, COLOR_GRAD2, "ЎNo autorizado!");
    if(!sscanf(params, "s[32]", params[0]))
    {
        if(strfind(params[0], "_" , true) != -1)
        {
            new string3[64], string[128];
            format(string3,sizeof(string3),"Usuarios/%s.lvrp",params[0]);
            if(INI_Exist(string3))
            {
                new INI:ini = INI_Open(string3);
                INI_WriteInt(ini, "Certificado", 0);
                INI_Close(ini);
                format(string, sizeof(string), "AdmLVRP: %s certificу la cuenta a nombre: %s",PlayerName(playerid), params[0]);
                SendAdminMessage(COLOR_YELLOW, 1, string);
            }
            else SendClientMessage(playerid, COLOR_GRAD2, "No se encontrу una cuenta con ese nombre");
        }
        else SendClientMessage(playerid, COLOR_GRAD2, "Usб: /certificar <Nombre_Jugador>");
        return 1;
    }
} //Te faltу esta
Reply


Messages In This Thread
El comando me cierra el pawno. - by jwalker - 19.02.2013, 02:01
Respuesta: El comando me cierra el pawno. - by EduGTA - 19.02.2013, 02:15
Respuesta: El comando me cierra el pawno. - by jwalker - 19.02.2013, 02:24
Respuesta: El comando me cierra el pawno. - by oOFotherOo - 19.02.2013, 02:54
Respuesta: El comando me cierra el pawno. - by OTACON - 19.02.2013, 12:37
Respuesta: El comando me cierra el pawno. - by jwalker - 19.02.2013, 13:56
Re: El comando me cierra el pawno. - by Daniel-92 - 19.02.2013, 14:00
Respuesta: Re: El comando me cierra el pawno. - by jwalker - 19.02.2013, 14:03
Re: Respuesta: Re: El comando me cierra el pawno. - by Daniel-92 - 19.02.2013, 14:05
Respuesta: El comando me cierra el pawno. - by jwalker - 19.02.2013, 14:12

Forum Jump:


Users browsing this thread: 1 Guest(s)