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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
MjrNuT
SourceMod Donor
Join Date: Feb 2008
Location: Under the Beaming CA Sun
Old 03-03-2008 , 16:02   Re: Advertisements
Reply With Quote #11

Quote:
Originally Posted by Extreme_One View Post
Nice work
Thank you.

Coloured chat messages would be a great addition

Anyway I've dropped ^BugS^ Ads plugin now and installed this one
true dat!!
__________________
Flames and Ash Gaming
Addon: SM v1.4.0-dev MM 1.8.5-dev
Plugins: Advertisements, Webshortcuts, spray tracer, SBans, RTD, gScramble Balance, misc
MjrNuT is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 03-03-2008 , 16:20   Re: Advertisements
Reply With Quote #12

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} I'll think about it anyway.
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
Extreme_One
Veteran Member
Join Date: Nov 2006
Old 03-03-2008 , 17:22   Re: Advertisements
Reply With Quote #13

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 )
__________________
Extreme_One is offline
FrostbyteX
Senior Member
Join Date: Dec 2007
Old 03-03-2008 , 17:29   Re: Advertisements
Reply With Quote #14

Quote:
Originally Posted by DJ Tsunami View Post
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} I'll think about it anyway.
Check the cvar limits. If it's 0, 1 then print On/Off.
FrostbyteX is offline
fattitj
Member
Join Date: Nov 2006
Old 03-03-2008 , 19:36   Re: Advertisements
Reply With Quote #15

i set the interval to 300, but ads are still appearing every 30 secs
fattitj is offline
ThatGuy
Senior Member
Join Date: Nov 2007
Old 03-03-2008 , 19:44   Re: Advertisements
Reply With Quote #16

Sweet ! thanks!
__________________
ThatGuy is offline
BrutalGoerge
AlliedModders Donor
Join Date: Jul 2007
Old 03-03-2008 , 20:39   Re: Advertisements
Reply With Quote #17

awesome plugin, works great.

seemed like bugs thought of a way to color that chat messages, maybe u can thief some his code. XD
__________________
My Pluggies If you like, consider to me.
BrutalGoerge is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 03-03-2008 , 21:03   Re: Advertisements
Reply With Quote #18

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
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 03-04-2008 , 06:25   Re: Advertisements
Reply With Quote #19

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
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.
DJ Tsunami is offline
FrostbyteX
Senior Member
Join Date: Dec 2007
Old 03-04-2008 , 12:09   Re: Advertisements
Reply With Quote #20

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
FrostbyteX 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 05:14.


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