AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Approved Plugins (https://forums.alliedmods.net/forumdisplay.php?f=8)
-   -   Auto Message Displayer (Advertiser) (https://forums.alliedmods.net/showthread.php?t=19094)

GHW_Chronic 10-08-2005 14:36

Auto Message Displayer (Advertiser)
 
5 Attachment(s)
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

Ink Assassin 10-09-2005 02:51

Ive been lookin for sumthin like this for quite awhile..will test

GHW_Chronic 10-09-2005 03:37

has been tested, but yeah, this is great shit right here.

Mcoy 10-09-2005 03:41

Works great! Thanks for help and taking time to listen to request ;)

Zenith77 10-09-2005 10:24

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.

Critical 10-10-2005 04:29

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...

GHW_Chronic 10-10-2005 12:38

yes. That is hw iths plugin works :-d

bmann_420 10-13-2005 20:09

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?

GHW_Chronic 10-13-2005 20:32

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.

bmann_420 10-13-2005 21:44

O, so its literally seconds. I C


All times are GMT -4. The time now is 01:19.

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