Raised This Month: $ Target: $400
 0% 

Showing/hiding motd


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
GoGoGo
Senior Member
Join Date: Apr 2008
Old 12-30-2008 , 04:30   Showing/hiding motd
Reply With Quote #1

Hi,

Is it possible to show my motd so fast that the player won't saw it? (Show motd and hide it in the same time)
__________________
Aaaaaa!
GoGoGo is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 12-30-2008 , 05:25   Re: Showing/hiding motd
Reply With Quote #2

First I gotta say that Why would you do this? What's the idea if the user can't even see it?
It could be done, first showing the motd where is your thingys and then show other motd wheres nothing. Still there isn't way to make user close the motd. (Please, some one correct me if I'm wrong)
SnoW is offline
Send a message via MSN to SnoW
GoGoGo
Senior Member
Join Date: Apr 2008
Old 12-30-2008 , 06:02   Re: Showing/hiding motd
Reply With Quote #3

Quote:
----part of code---

len += formatex(a[len], charsmax(a) - len, "lalala^n")
len += formatex(a[len], charsmax(a) - len, "lalala^n")

show_motd(id, a, "sth")
//exec user enter

------next----
Is it possible to exec enter to user, enter is closing the motd?

client_cmd(id,"+attack") - is not working.
__________________
Aaaaaa!

Last edited by GoGoGo; 12-30-2008 at 06:06.
GoGoGo is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 12-30-2008 , 06:49   Re: Showing/hiding motd
Reply With Quote #4

Part of hlsdk const:
Code:
#define IN_ATTACK                       (1<<0)
#define IN_JUMP                         (1<<1)
#define IN_DUCK                         (1<<2)
#define IN_ATTACK2                      (1<<11)
#define IN_SCORE                        (1<<15)
You can detect when client is jumping, also make him jump. But you can't make him press any button or detect it. That's because client can bind his jump to the mouse1 if he wants. That goes to client side and we are not allowed to and we can't do it.
SnoW is offline
Send a message via MSN to SnoW
GoGoGo
Senior Member
Join Date: Apr 2008
Old 12-30-2008 , 06:56   Re: Showing/hiding motd
Reply With Quote #5

So it is inpossible to make quick hide of motd?
__________________
Aaaaaa!
GoGoGo is offline
SnoW
Veteran Member
Join Date: Oct 2008
Location: Finland WisdomNuggets: 8
Old 12-30-2008 , 07:04   Re: Showing/hiding motd
Reply With Quote #6

Quote:
Originally Posted by SnoW View Post
Still there isn't way to make user close the motd.
I thought it and I'm thinking like it right now
SnoW is offline
Send a message via MSN to SnoW
IneedHelp
Veteran Member
Join Date: Mar 2007
Location: Argentina
Old 12-30-2008 , 13:12   Re: Showing/hiding motd
Reply With Quote #7

It's impossible what you want GoGoGo but you can hide the motd blocking the msg ^.^
__________________
IneedHelp is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 12-30-2008 , 14:28   Re: Showing/hiding motd
Reply With Quote #8

If you're trying to show a short message, just show a HUD message with a very short life time.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
GoGoGo
Senior Member
Join Date: Apr 2008
Old 01-01-2009 , 14:13   Re: Showing/hiding motd
Reply With Quote #9

No No No I was thinking about playing mp3 (at round end) without downloading it, it is possible only by making motd.
__________________
Aaaaaa!
GoGoGo is offline
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 09:07.


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