21.06.2011, 13:46
Change
to
pawn Код:
if(strcmp(inputtext) != tmp)
{
SendClientMessage(playerid, COLOR_RED, "ERROR: Wrong Password!! bye");
Kick(playerid);
logged[playerid] = 0;
}
pawn Код:
if(strcmp(inputtext) != tmp)
{
SendClientMessage(playerid, COLOR_RED, "ERROR: Wrong Password!! bye");
Kick(playerid);
logged[playerid] = 0;
return 1; // if you don't add this, it tells the script to keep going into anything else within the function
}