13.04.2012, 10:23
Hello, here is a code of this login box to login on my 0.3b server but it isn't working on 0.3c or 0.3d Could anyone help me get it to 0.3d thanks..
People to help me get Rep+ Thanks..
pawn Код:
if(!strcmp(tmp,tmp2,true)) {
GameTextForPlayer(playerid,"~r~Before you can play, you must login!",4000,3);
new paramsl[128];
ShowPlayerDialog(playerid, DIALOGID0+2, DIALOG_STYLE_INPUT,"~~~~~~Login Password~~~~~~", paramsl, "OK", "Quit"); //Broken
format(string,sizeof(string),"Welcome back, %s. Please login or you will be disconnected in 60 seconds!",PlayerName);
SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
SendClientMessage(playerid, COLOR_BRIGHTRED, "-----------------------------------------------------------------------------------------------------------------------");
PlayerInfo[playerid][LoggedIn] = 0;
SetTimerEx("KickTimer",60000,0,"i",playerid);}}