-- [ Picked text/plain from multipart/alternative ] You could print a message to the clients console before kicking them and then inform them to check their console for the reason. That way you could ensure your message gets across. I did this when making a MM Plugin cause I was having the same issue with cropping and general unreliability of the kick reason.
Ashley. On Sat, Mar 8, 2008 at 3:54 PM, Saul Rennison <[EMAIL PROTECTED]> wrote: > Yeah... Although I counted the full string as 129 chars. > > Its ok, I don't think I will use more than that. > > On 8 Mar 2008, at 15:41, Kevin Ottalini wrote: > > > so that looks like a ... 235 character limit? > > > > > > ----- Original Message ----- > > From: "Thomas Morton" > > To: <[email protected]> > > Sent: Saturday, March 08, 2008 7:26 AM > > Subject: Re: [hlcoders] Howto drop a client? (With reason) > > > > > >> Clips it. > >> > >> It clipped this message (when I tried it) "You have been kicked by > >> @MMMugs|Errant (STEAM_x:x:xxxxxx) for admin abuse. Please appeal at > >> http://bans.clancontrol.net/mmmugs/glassfun" to "You have been > >> kicked by > >> @MMMugs|Errant (STEAM_x:x:xxxxxx) for admin abuse. Please appeal at > >> ht" > >> > >> Tom > >> > >> -------------------------------------------------- > >> From: "Saul Rennison" > Sent: Saturday, March 08, 2008 3:23 PM > >> To: <[email protected]> > >> Subject: Re: [hlcoders] Howto drop a client? (With reason) > >> > >>> By "Doesn't display well" do you mean it clips it? If so whats the > >>> limit? > >>> > >>> > >>> On 8 Mar 2008, at 14:26, Thomas Morton wrote: > >>> > >>>> Sup Saul, > >>>> > >>>> Yes that is the syntax :) > >>>> > >>>> I literally was just using that when your email came :P > >>>> > >>>> (Be careful with sending too long a string cos it doesn't display > >>>> well) > >>>> > >>>> Tom > >>>> -------------------------------------------------- > >>>> From: "Saul Rennison" >>> Sent: Saturday, March 08, 2008 2:18 PM > >>>> To: <[email protected]> > >>>> Subject: Re: [hlcoders] Howto drop a client? (With reason) > >>>> > >>>>> Sorry! Doesn't kickid support a reason? I'm sure the command is: > >>>>> > >>>>> kickid <userid> <reason> > >>>>> > >>>>> I'll look it up now! > >>>>> > >>>>> On 8 Mar 2008, at 13:32, John wrote: > >>>>> > >>>>>> -- > >>>>>> [ Picked text/plain from multipart/alternative ] > >>>>>> Omega was helping someone else with this in irc, here is his > >>>>>> solution. > >>>>>> > >>>>>> UTIL_ClientPrintAll( HUD_PRINTCONSOLE, "#Game_idle_kick", > >>>>>> GetPlayerName() ); > >>>>>> > >>>>>> [20:06] <omega> engine->ServerCommand( UTIL_VarArgs( "kickid %d > >>>>>> \n", > >>>>>> GetUserID() ) ); > >>>>>> [20:07] <omega> look in css's language file for #game_idle_kick > >>>>>> > >>>>>> > >>>>>> On 3/8/08, Saul Rennison wrote: > >>>>>>> > >>>>>>> Hey all, > >>>>>>> I was just wondering if there is a way to drop a client (like in > >>>>>>> HL1 > >>>>>>> with SV_DropClient) and give a reason. > >>>>>>> > >>>>>>> I know about engine->ClientCommand(edict(), "disconnect\n"); but > >>>>>>> you > >>>>>>> can't supply a reason. > >>>>>>> > >>>>>>> Thanks in advance, > >>>>>>> - Saul. > > > > > > _______________________________________________ > > To unsubscribe, edit your list preferences, or view the list > > archives, please visit: > > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > -- _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

