16.10.2009, 07:04
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...
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; } } } |