Raised This Month: $32 Target: $400
 8% 

The motd immediately closes


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 01-25-2011 , 08:07   The motd immediately closes
Reply With Quote #1

Hello, I have a trouble with the motd. When the map is end, the motd immediately closes. How can I fix it? Here is a example from the code:

PHP Code:
#include <amxmodx>

public plugin_init()
{
    
register_event("30""event_intermission""a");
}

public 
event_intermission(id)
{
    
show_motd(0"Don't Show""DONT SHOW");

Thanks advance.
dark_style is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 01-25-2011 , 20:44   Re: The motd immediately closes
Reply With Quote #2

You can't, afaik, because intermission removes everything but chat and the scoreboard from the screen.
__________________
fysiks is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 01-26-2011 , 01:23   Re: The motd immediately closes
Reply With Quote #3

Hm, how GunGame shows motd then?
dark_style is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-26-2011 , 01:44   Re: The motd immediately closes
Reply With Quote #4

block intermission in plugin_init
block_msg(SVC_INTERMISSION, BLOCK_SET)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
dark_style
Senior Member
Join Date: Jul 2009
Location: Bulgaria
Old 01-26-2011 , 01:47   Re: The motd immediately closes
Reply With Quote #5

Quote:
Originally Posted by ConnorMcLeod View Post
block intermission in plugin_init
block_msg(SVC_INTERMISSION, BLOCK_SET)
Tested and works fine. Thank you.

Last edited by dark_style; 01-26-2011 at 02:15.
dark_style 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 16:26.


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