warning 202: number of arguments does not match definition
#2

The Kick() function doesn't have a 'reason' parameter. You have to use SendClientMessage to show a message before kicking the player.

HOWEVER, be warned: If you send a message then immediately Kick() the player, the message likely won't be seen (sent after they are kicked). To circumvent this, set a timer and kick them after 500ms or so.
Reply


Messages In This Thread
warning 202: number of arguments does not match definition - by d0nTtoucH - 21.04.2015, 17:37
Re: warning 202: number of arguments does not match definition - by MP2 - 21.04.2015, 17:42
Re: warning 202: number of arguments does not match definition - by d0nTtoucH - 21.04.2015, 18:05
Re: warning 202: number of arguments does not match definition - by Azula - 21.04.2015, 18:18
Re: warning 202: number of arguments does not match definition - by d0nTtoucH - 21.04.2015, 18:35

Forum Jump:


Users browsing this thread: 2 Guest(s)