AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Plugins (https://forums.alliedmods.net/forumdisplay.php?f=108)
-   -   Advertisements 2.1 (Updated 2021/02/06) (https://forums.alliedmods.net/showthread.php?t=155705)

MjrNuT 03-03-2008 16:02

Re: Advertisements
 
Quote:

Originally Posted by Extreme_One (Post 592556)
Nice work :D
Thank you.

Coloured chat messages would be a great addition :)

Anyway I've dropped ^BugS^ Ads plugin now and installed this one :up:

true dat!!

DJ Tsunami 03-03-2008 16:20

Re: Advertisements
 
I could do that Frostbyte, but it's nicer to have it say on/off than 1/0 isn't it? And don't make me do {IF}{ELSE} :P I'll think about it anyway.

Extreme_One 03-03-2008 17:22

Re: Advertisements
 
Any chance you can have {TIMELEFT} read the number of rounds remaining if the map's set to mp_timelimit 0 and suffix with the word Rounds when appropriate?

X Rounds if mp_timelimit 0


(I need to use mp_maxrounds instead of mp_timelimit for cp_badlands :| )

FrostbyteX 03-03-2008 17:29

Re: Advertisements
 
Quote:

Originally Posted by DJ Tsunami (Post 592680)
I could do that Frostbyte, but it's nicer to have it say on/off than 1/0 isn't it? And don't make me do {IF}{ELSE} :P I'll think about it anyway.

Check the cvar limits. If it's 0, 1 then print On/Off.

fattitj 03-03-2008 19:36

Re: Advertisements
 
i set the interval to 300, but ads are still appearing every 30 secs

ThatGuy 03-03-2008 19:44

Re: Advertisements
 
Sweet ! thanks!

BrutalGoerge 03-03-2008 20:39

Re: Advertisements
 
awesome plugin, works great. :D

seemed like bugs thought of a way to color that chat messages, maybe u can thief some his code. XD

DJ Tsunami 03-03-2008 21:03

Re: Advertisements
 
fattitj: It needs a mapchange, I didn't bother to make it update when you change the cvar. I'll obviously look into everything else mentioned, it's just alot of requests, so one feature at a time :)

DJ Tsunami 03-04-2008 06:25

Re: Advertisements
 
Do you guys know where I can find a list of the color constants? I found like COLOR_DEFAULT (1), COLOR_TEAM (3) and COLOR_GREEN (4) for SourceMod, and COLOR_NORMAL, COLOR_RED, COLOR_BLUE, COLOR_GRAY and COLOR_GREEN for AMX, but I'm not sure if those all work for SourceMod too. Plus I got 3 shades of green for 3, 4 and 5... I'm guessing I can't use all the colors that work for sm_tsay :(

FrostbyteX 03-04-2008 12:09

Re: Advertisements
 
DJ, the COLOR_GREEN, COLOR_TEAM and COLOR_DEFAULT are all colors for chat messages. Their color is exactly as they are defined, and are used as I posted above.

As far as I'm aware, those are the only chat message colors available.

Steve


All times are GMT -4. The time now is 10:17.

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