Raised This Month: $ Target: $400
 0% 

Auto Message Displayer (Advertiser)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Geesu (62)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 10-08-2005 , 14:36   Auto Message Displayer (Advertiser)
Reply With Quote #1

This plugin allows you to setup both text and hud messages to be displayed every X seconds (messages are rotated through in order 1 by 1 displayed every X seconds)

CVARs:
advertise_hud_len - Time between each hud advertisement (Default: 120.0)
advertise_text_len - Time between each text advertisement (Default: 200.0)
advertise_hud_loc - Location of Hud Message (1=upper center | 2=center center) (Default: 1)

INI File Setup:
Code:
Hud/Text
[color]Insert Text Here[/color]
Hud and Text are constant words that the script uses to recongnize what type of message you wish to display.
Color in the hud can be any of the colors listed below. Only Green / Red / Blue for text though (Red/Blue will always display as the viewer's team color)

Hud Message Colors:

Red
Green
Blue
Yellow
Orange
Pink
Indigo
White

Example Messages.ini:
Quote:
Originally Posted by My Messages.ini
Hud
[Red]Your Are Playing At[/Red] [Blue]Devil's Playground[/Blue] [Green]1.1.1.1[/Green]

Text
To buy admin goto: [green]www.buyadminxomg.com[/green]
Note: messages.ini goes into your configs directory.
Note #2: For every color in the hud message it shows up on a different line (Too many lines may cause part of the text to cut off sometimes due to other plugins trying to display on the HUD). The above example would display as follows:
Your Are Playing At
Devil's Playground
1.1.1.1
Attached Files
File Type: sma Get Plugin or Get Source (GHW_Message_Disp.sma - 50623 views - 10.0 KB)
File Type: ini messages.ini (157 Bytes, 29080 views)

Last edited by GHW_Chronic; 06-21-2008 at 15:47.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
 



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 08:07.


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