20.04.2012, 10:31
When login dialog appears, I type in a wrong password and it doesen't log me in. But when I just leave the password spot blank, and click log in, it logs my player into the server. So how to disable this bug?
if(!strval(inputtext) return //code here
pawn Код:
|
if(!strlen(inputtext))
{
SendClientMessage(playerid, -1, "You have entered an empty password");
Kick(playerid);
return 1;
}