Player Text without being logged in
#1

Hello. I have a register system using Y_INI systems. It works fine, but if you connect with raksamp the dialogs sometimes don't show up, and therefore you can type in the raksamp chat without being logged in.
I have tried to make a function so you cannot type in until your INI data has been loaded, but I don't know how to phrase it other than like this:

Код:
public OnPlayerConnect(playerid)
{	
   gPlayer_Logged[playerid] = 0;
   {
	if(!LoadUser_data)
		{
			SCM(pid, -1, "You are not logged in.");
			return 1;
		}
	}
gPlayer_Logged[MAX_PLAYERS] is a global variable.
Reply


Messages In This Thread
Player Text without being logged in - by JXF - 22.06.2016, 18:41
Re: Player Text without being logged in - by Stinged - 22.06.2016, 18:45
Re: Player Text without being logged in - by JXF - 22.06.2016, 19:18
Re: Player Text without being logged in - by Stinged - 22.06.2016, 19:21
Re: Player Text without being logged in - by Luis- - 22.06.2016, 19:22
Re: Player Text without being logged in - by JXF - 22.06.2016, 19:52

Forum Jump:


Users browsing this thread: 1 Guest(s)