Login Dialog
#4

May be.. you could show the code of OnPlayerLogin? or just tell what it is exactly doing?

EDIT:
Well, may be... you try that in OnDialogResponse...
Quote:

if(dialogid == 2)
{
if(!response)
{
Kick(playerid);
}
else
{
if(!strlen(inputtext)) {
SendClientMessage(playerid, TEAM_AZTECAS_COLOR, "KASUTUS: /login [password]");
return 1;
} else {
OnPlayerLogin(playerid,MD5_Has(inputtext));
return 1;
}
}
}

Reply


Messages In This Thread
Login Dialog - by Kohva - 16.10.2009, 06:04
Re: Login Dialog - by Abhishek - 16.10.2009, 06:17
Re: Login Dialog - by Kohva - 16.10.2009, 06:22
Re: Login Dialog - by Abhishek - 16.10.2009, 07:04
Re: Login Dialog - by Kohva - 16.10.2009, 08:04

Forum Jump:


Users browsing this thread: 3 Guest(s)