AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   open client console (https://forums.alliedmods.net/showthread.php?t=207759)

hypheni 02-06-2013 13:10

open client console
 
Instead of writing to Kick dialog box, is there a way to show some message on console directly when someone gets Kicked/Banned.

We can write to client's console using client_print or echo but how to open console to let the client see that instead Kick/Ban dialog.

Napoleon_be 02-06-2013 13:37

Re: open client console
 
I'm not sure if it's possible..
What you can try is opening the console @ client_disconnect but i'm not sure if this would work...

Neeeeeeeeeel.- 02-06-2013 13:46

Re: open client console
 
Quote:

Originally Posted by hypheni (Post 1888536)
Instead of writing to Kick dialog box, is there a way to show some message on console directly when someone gets Kicked/Banned.

We can write to client's console using client_print or echo but how to open console to let the client see that instead Kick/Ban dialog.

Maybe open it before you kick/ban him.

hypheni 02-07-2013 01:18

Re: open client console
 
Whatever the time is ie: before kicking or from client_disconnect what is way to open client console. I mean the code ?

YamiKaitou 02-07-2013 01:26

Re: open client console
 
Why can't you just look to see what ~ is bound to and execute that command? But, when you kick them, they will still see the Disconnected message which hides the console until they click OK

Unkolix 02-07-2013 11:07

Re: open client console
 
Or just write in the kick message, open console to see further information.

hypheni 02-07-2013 11:17

Re: open client console
 
@..Unkolix
That's not the solution

@..YamiKaitou
Can you show a quick sample

YamiKaitou 02-07-2013 20:02

Re: open client console
 
Quote:

Originally Posted by hypheni (Post 1889258)
@..YamiKaitou
Can you show a quick sample

Because of how simple it is to do, no. You should be able to figure it out yourself based on what I have already said.

hypheni 02-08-2013 00:07

Re: open client console
 
@^^ ROGER THAT!

Task has been assigned to me. Let me try it out tonight.

hypheni 02-08-2013 11:01

Re: open client console
 
DONE!

toggleconsole


All times are GMT -4. The time now is 20:29.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.