[FilterScript] FS Registro & Login DOF2
#4

Quote:
Originally Posted by zPain
Посмотреть сообщение
Funcional, mas contйm algumas falhas.

Exemplo:
pawn Код:
public OnPlayerDisconnect(playerid, reason)
{
        if(Logado{playerid} == true)
        {
        SalvarDados(playerid);
        return 1;
        }
        else if(Logado{playerid} == false)
        {
            printf("A conta do player %s nгo pode ser salva!", getName(playerid));
            return 1;
        }
        Logado{playerid} = false;
        return 1;
}
A array Logado jamais serб passada a false no нndice playerid.
Nгo entendi?
Reply


Messages In This Thread
FS Registro & Login DOF2 - by LucasF - 09.10.2013, 15:16
Re: FS Registro & Login DOF2 - by PT - 09.10.2013, 15:19
Re: FS Registro & Login DOF2 - by zPain - 09.10.2013, 15:19
Re: FS Registro & Login DOF2 - by LucasF - 09.10.2013, 15:23
Re: FS Registro & Login DOF2 - by zPain - 09.10.2013, 15:26
Re: FS Registro & Login DOF2 - by PT - 09.10.2013, 15:37
Re: FS Registro & Login DOF2 - by Schocc - 09.10.2013, 15:50
Re: FS Registro & Login DOF2 - by LucasF - 09.10.2013, 16:34
Re: FS Registro & Login DOF2 - by Juniiro3 - 09.10.2013, 16:39
Re: FS Registro & Login DOF2 - by LucasF - 09.10.2013, 17:03

Forum Jump:


Users browsing this thread: 1 Guest(s)