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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
zerak
Senior Member
Join Date: Feb 2008
Old 01-01-2009 , 09:45   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #321

why don't you try to find it and format your timestamp according to sm_datetime_format then?
zerak is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 01-01-2009 , 10:27   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #322

Because anyone can change the cvar to what they like, I can't count on the date and time being seperated with " - ".
__________________
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
zerak
Senior Member
Join Date: Feb 2008
Old 01-01-2009 , 10:44   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #323

create a new one or use the above and run a check on it (regexp) otherwise use a default string or something
zerak is offline
Xp3r7
SourceMod Donor
Join Date: Jul 2006
Old 01-01-2009 , 10:59   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #324

What is the cvar to display someones name or is their even one?

I tried {NAME} and it just says unamed.

Like I want a Center and Hint message coming up saying - Welcome {NAME} to our servers!

When I tried the above in bold it says - Welcome unamed to our servers!, instead of displaying your name.
__________________
Xp3r7 is offline
Send a message via MSN to Xp3r7
IcEWoLF
Senior Member
Join Date: Jul 2007
Old 01-02-2009 , 18:52   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #325

Question, how do you change the timer?
IcEWoLF is offline
{7~11} TROLL
Senior Member
Join Date: Oct 2008
Location: Atlanta,Georgia
Old 01-02-2009 , 19:48   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #326

Quote:
Originally Posted by IcEWoLF View Post
Question, how do you change the timer?
sm_advertisements_interval (def 30)
Amount of seconds between advertisements.
__________________
{7~11} TROLL is offline
Darin
Member
Join Date: Dec 2008
Old 01-02-2009 , 23:31   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #327

What is the maximum seconds you can add?
Darin is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 01-03-2009 , 00:06   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #328

A billion trillion thousand. There is no max. 60 seconds = 1 minute
__________________

DontWannaName is offline
Darin
Member
Join Date: Dec 2008
Old 01-04-2009 , 13:37   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #329

It doesn't work properly in L4d I guess. I changed the second to 800 and it still displays the advertisement at 60 seconds.

Will this plugin be updated anytime soon? Or is it the final release.
Darin is offline
Badkharma
Member
Join Date: Nov 2008
Old 01-04-2009 , 13:50   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #330

"It doesn't work properly in L4d I guess. I changed the second to 800 and it still displays the advertisement at 60 seconds"

I respectfully disagree. I put 600 in the cvar in my sourcemod cfg file and it works fine. Appear every 10 minutes. I did this using the clock function and it was exactly 10 minutes between messages.
Badkharma is offline
Reply



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 23:56.


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