02.11.2015, 10:46
Also i found this, this is login/register screen:
Is everything okay here? I'll repeat, the problem is when 2'nd player try to join he don't see register/login panel,
register/login panel won't pop out.
Please help, this is very important to me.
Код:
forward LogReg(playerid); public LogReg(playerid) { KillTimer(LogRegTimer[playerid]); g_SetPlayerHealth(playerid, 99.0); SetPlayerVirtualWorld(playerid, 0); SetPlayerInterior(playerid, 0); SetTimerEx("PostaviKameru",100, false, "i", playerid); ///////////////////////////////////////////////////////////////////////////////////// if(fexist(Korisnici(playerid))) { TextDrawShowForPlayer(playerid,RegLogi[10]);//Prijava TextDrawShowForPlayer(playerid,RegLogi[11]);//Registacija TextDrawShowForPlayer(playerid,RegLogi[12]); //info TextDrawShowForPlayer(playerid,GSROLEPLAY); //BG BY TextDrawShowForPlayer(playerid,Traka1); TextDrawShowForPlayer(playerid,Traka2); TextDrawShowForPlayer(playerid,NAPRED); TextDrawShowForPlayer(playerid,loginlinija1); TextDrawShowForPlayer(playerid,loginlinija2); SelectTextDraw(playerid, BELA2); } else { TextDrawHideForPlayer(playerid,Intro[0]); TextDrawHideForPlayer(playerid,Intro[1]); TextDrawHideForPlayer(playerid,Intro[2]); TextDrawHideForPlayer(playerid,Intro[3]); TextDrawHideForPlayer(playerid,Intro[4]); TextDrawHideForPlayer(playerid,Intro[5]); TextDrawHideForPlayer(playerid,Intro[6]); TextDrawHideForPlayer(playerid,Intro[7]); TextDrawHideForPlayer(playerid,Intro[8]); TextDrawHideForPlayer(playerid,Intro[9]); TextDrawHideForPlayer(playerid,Intro[10]); if(ServerInfo[isRegistracija] == 1) { StatusKonekta(playerid, 5); } else if(ServerInfo[isRegistracija] != 1) { TextDrawShowForPlayer(playerid,RegLogi[10]);//Prijava TextDrawShowForPlayer(playerid,RegLogi[11]);//Registacija TextDrawShowForPlayer(playerid,RegLogi[12]); //info TextDrawShowForPlayer(playerid,GSROLEPLAY); //BG BY TextDrawShowForPlayer(playerid,Traka1); TextDrawShowForPlayer(playerid,Traka2); TextDrawShowForPlayer(playerid,NAPRED); TextDrawShowForPlayer(playerid,loginlinija1); TextDrawShowForPlayer(playerid,loginlinija2); SelectTextDraw(playerid, BELA2); } } return 1; }
register/login panel won't pop out.
Please help, this is very important to me.