Server stops when player is kicked
#5

Instead of using Kick(playerid),try this and see what happens:

pawn Code:
forward _KickPlayerDelayed(playerid)
public _KickPlayerDelayed(playerid)
{
    Kick(playerid);
    return 1;
}

DelayedKick(playerid, time = 500)
{
    SetTimerEx("_KickPlayerDelayed", time, false, "d", playerid);
    return 1;
}
Replace Kick(playerid); with:

pawn Code:
DelayedKick(playerid);
Reply


Messages In This Thread
Server stops when player is kicked - by martoivanov - 13.08.2018, 20:40
Re: Server stops when player is kicked - by martoivanov - 16.08.2018, 09:19
Re: Server stops when player is kicked - by jlalt - 16.08.2018, 17:13
Re: Server stops when player is kicked - by martoivanov - 18.08.2018, 06:13
Re: Server stops when player is kicked - by KinderClans - 18.08.2018, 09:33
Re: Server stops when player is kicked - by martoivanov - 20.08.2018, 10:11
Re: Server stops when player is kicked - by Sew_Sumi - 20.08.2018, 10:22
Re: Server stops when player is kicked - by martoivanov - 20.08.2018, 10:29

Forum Jump:


Users browsing this thread: 1 Guest(s)