26.05.2012, 05:13
Quote:
Well i have had that problem when it hangs on connect while checking the players bantime and it had to do with Kick(playerid); bug. Comment it off once. I aint saying that is the problem but its worth a try.
|
pawn Code:
else if(udb_Exists(PlayerName(playerid)))
{
if(dUserINT(PlayerName(playerid)).("Banned") == 1)
{
SendClientMessage(playerid, COLOR_YELLOW, "===================================[BANNED]====================================");
SendClientMessage(playerid, COLOR_YELLOW, "This player name has been banned from [Sarcr]");
SendClientMessage(playerid, COLOR_YELLOW, "The data regarding this ban is unavailable.");
SendClientMessage(playerid, COLOR_YELLOW, "If you feel that this is a mistake, please write an appeal at www.sa-rcr.com");
SendClientMessage(playerid, COLOR_YELLOW, "===============================================================================");
Kick(playerid);
}
ShowLoginScreen(playerid);
return 1;
}
else if(!udb_Exists(PlayerName(playerid)))
{
ShowRegisterScreen(playerid);
return 1;
}