Raised This Month: $51 Target: $400
 12% 

close motd?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 07-19-2007 , 07:57   close motd?
Reply With Quote #1

hi,

i show a motd to a player with
Code:
 
...
show_motd(id, motd, "test")
...
is it posible to close this motd with amx?
or better: show it in the background?

i use the motd for connecting to a teamspeak server.
there is no need for the client to read it.
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who donīt.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
_Master_
Senior Member
Join Date: Dec 2006
Old 07-20-2007 , 07:35   Re: close motd?
Reply With Quote #2

Quote:
is it posible to close this motd with amx?
Not without an impressive code overhead... better not go into this...

Quote:
show it in the background?
No.

Quote:
...there is no need for the client to read it.
When the client closes the window it auto-closes the connection as well
_Master_ is offline
Toster v2.1
Senior Member
Join Date: Oct 2006
Location: Latvia, Riga
Old 07-21-2007 , 15:51   Re: close motd?
Reply With Quote #3

Quote:
When the client closes the window it auto-closes the connection as well
Then how can mp3's be played????

Try here: http://forums.alliedmods.net/showthread.php?t=17708
__________________
I am 52% addicted to Counterstrike. What about you?

Last edited by Toster v2.1; 07-21-2007 at 15:53.
Toster v2.1 is offline
Send a message via Skype™ to Toster v2.1
|PJ| Shorty
Veteran Member
Join Date: Aug 2005
Location: Bavaria, Germany
Old 07-25-2007 , 04:54   Re: close motd?
Reply With Quote #4

Quote:
Originally Posted by _Master_ View Post
When the client closes the window it auto-closes the connection as well
that would not be a problem.

thx
__________________
There are only 10 types of people in the world:
Those who understand binary, and those who donīt.
|PJ| Shorty is offline
Send a message via ICQ to |PJ| Shorty Send a message via AIM to |PJ| Shorty Send a message via MSN to |PJ| Shorty Send a message via Yahoo to |PJ| Shorty Send a message via Skype™ to |PJ| Shorty
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 04:07.


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