Server crash on kick
#3

Quote:
Originally Posted by BreakStore
Посмотреть сообщение
You must use 3 zeros after your number 5.

PHP код:
forward kick(playeridreason[]);
public 
kick(playeridreason[])
{
    new 
kickreason[512];
    
format(kickreasonsizeof(kickreason), ""#COL_WHITE"You've been "#COL_RED"kicked "#COL_WHITE"from the server.\n"#COL_WHITE"Reason: "#COL_YELLOW"%s", reason);
    
ShowPlayerDialog(playeriddKickMessageDIALOG_STYLE_MSGBOX""#COL_RED"Notification", kickreason, "Close", "");
    
kickt SetTimerEx("ki"5000false"d"playerid);
    return 
1;
}
forward ki(playerid);
public 
ki(playerid)
{
    
Kick(playerid);
    return 
1;

Try and say me that it's the good solution.
No, it doesn't fix it. It just kicks me in 5 seconds and the server crashes.
Reply


Messages In This Thread
Server crash on kick - by Kampott - 23.09.2017, 22:45
Re: Server crash on kick - by BreakStore - 23.09.2017, 22:49
Re: Server crash on kick - by Kampott - 23.09.2017, 22:53
Re: Server crash on kick - by Kampott - 23.09.2017, 22:55
Re: Server crash on kick - by Kampott - 23.09.2017, 23:27
Re: Server crash on kick - by Kampott - 23.09.2017, 23:31
Re: Server crash on kick - by BreakStore - 23.09.2017, 23:40
Re: Server crash on kick - by Kampott - 24.09.2017, 00:19

Forum Jump:


Users browsing this thread: 2 Guest(s)