[Ajuda] Login
#5

Quote:
Originally Posted by Schocc
Посмотреть сообщение
Este segredo fica no retorno da Calback OnPlayerRequestClass.

Mude para false, caso ele errar a senha. Recomendo criar uma funзгo para verificar o login.
pawn Код:
public OnPlayerRequestClass(playerid,classid)
{
    if(!IsPlayerLogin(playerid))
    {
        SendClientMessage(playerid,COLOR_GREEN,"Senha incorreta!");
        return 0;
    }
    return 1;
}
Crie a funзгo de login e faзa retornar 0, se ele errar a senha. ^^ Tambйm pode passar como referencia o inputtext.
Olha o error que estб dando
PHP код:
error 017undefined symbol "IsPlayerLogin" 
Reply


Messages In This Thread
Login - by ScriptGameS - 13.01.2014, 17:57
Re: Login - by iDreak - 13.01.2014, 18:09
Re: Login - by bruxo00 - 13.01.2014, 18:10
Re: Login - by Schocc - 13.01.2014, 18:11
Re: Login - by ScriptGameS - 13.01.2014, 18:21
Re: Login - by bruxo00 - 13.01.2014, 18:23
Re: Login - by ScriptGameS - 13.01.2014, 18:25
Re: Login - by Schocc - 13.01.2014, 18:26
Re: Login - by ScriptGameS - 13.01.2014, 18:30
Re: Login - by Schocc - 13.01.2014, 18:35

Forum Jump:


Users browsing this thread: 1 Guest(s)