Only one player can see login screen
#4

Also i found this, this is login/register screen:
Код:
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;
}
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.
Reply


Messages In This Thread
Only one player can see login screen - by Gmex - 02.11.2015, 08:50
Re: Only one player can see login screen - by [ABK]Antonio - 02.11.2015, 09:16
Re: Only one player can see login screen - by Gmex - 02.11.2015, 09:23
Re: Only one player can see login screen - by Gmex - 02.11.2015, 10:46
Re: Only one player can see login screen - by Gmex - 04.11.2015, 08:11

Forum Jump:


Users browsing this thread: 1 Guest(s)