Posts: 280
Threads: 62
Joined: Aug 2014
Reputation:
0
today we were testing the /kick and /ban command. when a player got kicked/ban it does not send a message to the player who have been kick/ban. all it say "server closed the connection". i want it to send to the player before it say "server closed the connection". but im failing. anyone can solve this?
Posts: 280
Threads: 62
Joined: Aug 2014
Reputation:
0
it not working and, it kicked the player who used the /kick command.
Posts: 11,827
Threads: 33
Joined: Dec 2011
Reputation:
0
justice96 meant to say, you'll have to delay the kick in order for the messages/dialogs etc to be shown to the player.
Add the interval to about 500-1000 milliseconds and replace "playerid" with the variable you store the player's ID you want to kick/ban.