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

Advanced ShowMOTDPanel


Post New Thread Reply   
 
Thread Tools Display Modes
KissLick
Veteran Member
Join Date: Nov 2012
Location: void
Old 09-18-2014 , 13:50   Re: Advanced ShowMOTDPanel
Reply With Quote #11

Ciao,

I use this include, and sometimes my MOTDs only flicks/blinks (just open and immediately close). Does anyone know whats wrong and how to fix it?

My code:
PHP Code:
public Action:Hook_PlayerChatclientargc )
{
    if( !
Client_IsIngameclient ) )
        return 
Plugin_Continue;

    
decl String:sText512 ], String:url128 ];

    
GetCmdArgStringsTextsizeofsText ) );
    
StripQuotessText );
        
    if( 
sText] != '#' && sText] != '!' )
        return 
Plugin_Continue;
    
    if( 
GetTrieStringg_linkssTexturlsizeofurl ) ) )
        
AdvMOTD_ShowMOTDPanelclient"title"urlMOTDPANEL_TYPE_URL );

    return 
Plugin_Continue;


Last edited by KissLick; 09-18-2014 at 13:52.
KissLick is offline
404UserNotFound
BANNED
Join Date: Dec 2011
Old 10-28-2014 , 16:53   Re: Advanced ShowMOTDPanel
Reply With Quote #12

Bit of a warning when compiling a plugin using this in a 1.7 environment:

"Warning 237: coercing functions to and from primitives is unsupported and will be removed in the future"

...wat
404UserNotFound is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 10-29-2014 , 07:00   Re: Advanced ShowMOTDPanel
Reply With Quote #13

wat is a big motd
__________________
Chdata is offline
Powerlord
AlliedModders Donor
Join Date: Jun 2008
Location: Seduce Me!
Old 10-29-2014 , 10:50   Re: Advanced ShowMOTDPanel
Reply With Quote #14

Quote:
Originally Posted by Chdata View Post
wat is a big motd
As far as I recall, it removes the chalkboard that normally surrounds the MOTD.
__________________
Not currently working on SourceMod plugin development.
Powerlord is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 10-29-2014 , 14:28   Re: Advanced ShowMOTDPanel
Reply With Quote #15

What about the popup motd type pannels? Is there any way to create and control one of those?
__________________
zeroibis is offline
Chdata
Veteran Member
Join Date: Aug 2012
Location: Computer Chair, Illinois
Old 10-30-2014 , 22:36   Re: Advanced ShowMOTDPanel
Reply With Quote #16

Maybe big motd IS the popup type panel?
__________________
Chdata is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 10-30-2014 , 23:33   Re: Advanced ShowMOTDPanel
Reply With Quote #17

Quote:
Originally Posted by Chdata View Post
Maybe big motd IS the popup type panel?
It's not.
__________________
Dr. McKay is offline
friagram
Veteran Member
Join Date: Sep 2012
Location: Silicon Valley
Old 11-03-2014 , 09:43   Re: Advanced ShowMOTDPanel
Reply With Quote #18

You talking about the info text panels that open vgui panels behind the ui, like console style?
You make those similar to the upper left admin say (whatever its called), just change the message type.
__________________
Profile - Plugins
Add me on steam if you are seeking sp/map/model commissions.
friagram is offline
zeroibis
Veteran Member
Join Date: Jun 2007
Old 11-04-2014 , 13:08   Re: Advanced ShowMOTDPanel
Reply With Quote #19

No I am talking about the full on html popup windows that you get if you were to click on a link with target_blank for example.
__________________
zeroibis is offline
Dr. McKay
Sir Dr. SourceMod Plugin Approver Esq. Ltd. M.D. PhD
Join Date: Aug 2011
Location: Atlantis
Old 06-29-2015 , 00:19   Re: Advanced ShowMOTDPanel
Reply With Quote #20

Updated for transitional syntax.
__________________
Dr. McKay is offline
Reply


Thread Tools
Display Modes

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 13:32.


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