Kicking Player because they didn't logon to the game.
#6

You can find code similar to this

Code:
public KickTimer(playerid)
{
    if(IsPlayerConnected(playerid))
    {
		if(PlayerInfo[playerid][LoggedIn] == 0)
		{
			SendClientMessage(playerid,COLOR_BRIGHTRED, "You have been kicked from the server for Login Timeout!");
			new kickmess[128];
			format(kickmess,sizeof(kickmess),"%s was kicked from the server. Reason: Login Timeout!",PlayerInfo[playerid][name]);
			SendClientMessage(playerid,COLOR_BRIGHTRED,kickmess);
			Kick(playerid);
		}
	}
}
public FixTimer(playerid)
{
    if(IsPlayerConnected(playerid))
    {
	    afixcars(playerid);
		afixhs(playerid);
		afixbizs(playerid);
	}
}
if you found it, delete it
Reply


Messages In This Thread
Kicking Player because they didn't logon to the game. - by Vizi10 - 25.11.2018, 08:29
Re: Kicking Player because they didn't logon to the game. - by Mike861 - 25.11.2018, 10:48
Re: Kicking Player because they didn't logon to the game. - by g1venchy - 25.11.2018, 10:54
Re: Kicking Player because they didn't logon to the game. - by J0sh... - 25.11.2018, 16:50
Re: Kicking Player because they didn't logon to the game. - by Dayrion - 25.11.2018, 20:50
Re: Kicking Player because they didn't logon to the game. - by vikoo - 26.11.2018, 21:04

Forum Jump:


Users browsing this thread: 1 Guest(s)