Teach me how to make ban with reason
#5

Quote:
Originally Posted by Sew_Sumi
Посмотреть сообщение
Kick will kick them before they get the message.

Put it on a timer or something so it gets sent, then kicks them a second later.
i didnt found it
where can i found?

just found this

Код:
forward AutoKick(playerid);
public AutoKick(playerid)
{
	if( IsPlayerConnected(playerid) && ServerInfo[Locked] == 1 && PlayerInfo[playerid][AllowedIn] == false) {
		new string[128];
		SendClientMessage(playerid,grey,"You have been automatically kicked. Reason: Server Locked");
		format(string,sizeof(string),"%s ID:%d has been automatically kicked. Reason: Server Locked",PlayerName2(playerid),playerid);
		SaveToFile("KickLog",string);  Kick(playerid);
		SendClientMessageToAll(grey, string); print(string);
	}
	return 1;
}
Reply


Messages In This Thread
Teach me how to make ban with reason - by KyNe - 26.12.2017, 06:00
Re: Teach me how to make ban with reason - by Ritzy2K - 26.12.2017, 06:28
Re: Teach me how to make ban with reason - by KyNe - 26.12.2017, 06:38
Re: Teach me how to make ban with reason - by Sew_Sumi - 26.12.2017, 07:14
Re: Teach me how to make ban with reason - by KyNe - 26.12.2017, 07:15
Re: Teach me how to make ban with reason - by DTV - 26.12.2017, 07:20
Re: Teach me how to make ban with reason - by KyNe - 26.12.2017, 07:25
Re: Teach me how to make ban with reason - by KyNe - 26.12.2017, 08:02
Re: Teach me how to make ban with reason - by Ritzy2K - 26.12.2017, 08:12
Re: Teach me how to make ban with reason - by KyNe - 26.12.2017, 08:23

Forum Jump:


Users browsing this thread: 1 Guest(s)