Raised This Month: $105 Target: $400
 26% 

Auto Message Displayer (Advertiser)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose        Approver:   Geesu (62)
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 10-08-2005 , 15: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 - 46790 views - 10.0 KB)
File Type: ini messages.ini (157 Bytes, 27072 views)

Last edited by GHW_Chronic; 06-21-2008 at 16:47.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Ink Assassin
Junior Member
Join Date: Aug 2005
Location: Erie Pennsylvania
Old 10-09-2005 , 03:51  
Reply With Quote #2

Ive been lookin for sumthin like this for quite awhile..will test
__________________
Is it 4:20 yet?
Ink Assassin is offline
Send a message via AIM to Ink Assassin
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 10-09-2005 , 04:37  
Reply With Quote #3

has been tested, but yeah, this is great shit right here.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
Mcoy
Member
Join Date: Aug 2005
Old 10-09-2005 , 04:41  
Reply With Quote #4

Works great! Thanks for help and taking time to listen to request ;)
__________________
Mcoy is offline
Zenith77
Veteran Member
Join Date: Aug 2005
Old 10-09-2005 , 11:24  
Reply With Quote #5

I know of a clan that made something similar for themselves, but hardcoded it, but i like this, this is useful for advertising and recuirting.
__________________
Quote:
Originally Posted by phorelyph View Post
your retatred
Zenith77 is offline
Critical
New Member
Join Date: Oct 2005
Old 10-10-2005 , 05:29  
Reply With Quote #6

Does this work for multiple messages and multiple colors? For example:

Hud
Red
50
GHW_Chronic is an AMXX Scripting GOD

Hud
green
75
GHW_Chronic is an AMXX Scripting GOD

Hud
blue
125
GHW_Chronic is an AMXX Scripting GOD

And so on...
Critical is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 10-10-2005 , 13:38  
Reply With Quote #7

yes. That is hw iths plugin works :-d
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 10-13-2005 , 21:09  
Reply With Quote #8

I have been looking for this bad boy chronic, thankx man, never even saw it till i had some time on my hands.

O yea, can you give a ballpark for the times, like whats 50? 5 min or 10 min?
__________________
bmann_420 is offline
GHW_Chronic
SourceMod Donor
Join Date: Sep 2004
Location: Texas
Old 10-13-2005 , 21:32  
Reply With Quote #9

Quote:
Seconds before loop is the amount of time that goes by before it displays the message again. If you have 5 chat messages set at the same number of seconds, you will flood the chat and no one will read what you wrote.
GHW_Chronic is offline
Send a message via AIM to GHW_Chronic
bmann_420
AMX_Super Pooper
Join Date: Jan 2005
Location: [SuperCentral.co]
Old 10-13-2005 , 22:44  
Reply With Quote #10

O, so its literally seconds. I C
__________________
bmann_420 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 15:44.


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