Quote:
Originally Posted by PCheriyan007
Just tried that, commented out all of the 'Kicks' and it was still hanging there forever. I'm pretty sure that it has more to do with these lines:
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; }
If I comment out those lines, then I'm able to spawn but any other command aside from SA-MPs native commands, don't work.
|
Guess your best bet is use Print("Debug"); between every line on that part and see where it stops. Could have somthing to do with your file system. I only know how to use y_ini so far not double-o-files.
Also show us
pawn Code:
ShowLoginScreen(playerid);
Mabe its somthing in that.