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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
qcg33k
Junior Member
Join Date: Feb 2008
Location: Quad Cities
Old 05-03-2008 , 00:32   Re: Advertisements
Reply With Quote #101

For 'T' {Orange} works in TF2.

But I had a question, for 'M', people are reporting it's not allowing them to use their 1, 2, & 3 keys to switch weapons when the advert is up. Anyway to stop it, or just avoid 'M' all together.
__________________

qcg33k is offline
Send a message via AIM to qcg33k
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 05-03-2008 , 00:42   Re: Advertisements
Reply With Quote #102

I took M off so dont use that for TF2. It does do that.
__________________

DontWannaName is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 05-03-2008 , 08:39   Re: Advertisements
Reply With Quote #103

Yeah, they'd have to press 0 first to hide the M advert. There's no way around that.
__________________
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
serpent666
Junior Member
Join Date: Feb 2007
Old 05-04-2008 , 11:04   Re: Advertisements
Reply With Quote #104

i seem to be having an issue with the
C (sm_csay) type advertisment
it will display when it supposed to (every 400 seconds)
but it dosent display long enough
it pretty much shows for 1 second and disappears
i tested how long sm_csay shows for and it was definatly longer then the advertisment plugin, around 5 seconds this stayed up

am i doing something wrong, is it possible to set a duration for how long the message displays for?
serpent666 is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 05-04-2008 , 14:11   Re: Advertisements
Reply With Quote #105

My plugin uses the same command sm_csay uses (PrintCenterText), and it shows up for a couple of seconds for me. Which game are you using it on?
__________________
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
serpent666
Junior Member
Join Date: Feb 2007
Old 05-05-2008 , 04:14   Re: Advertisements
Reply With Quote #106

im using it for counter strike source, it shows up for around 1 second
hardly enough to read even 4 words
serpent666 is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 05-06-2008 , 20:48   Re: Advertisements
Reply With Quote #107

Tsunami I think this error you overlooked might be the source of the person above's problem. I think it still works but makes a nice error log.

Code:
L 05/06/2008 - 19:46:23: [SM] Native "GetArrayString" reported: Invalid index 0 (count: 0)
L 05/06/2008 - 19:46:23: [SM] Displaying call stack trace for plugin "advertisements.smx":
L 05/06/2008 - 19:46:23: [SM]   [0]  Line 80, /home/groups/alliedmodders/forums/files/3/4/6/6/8/24253.attach::Timer_DisplayAds()
__________________

DontWannaName is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 05-06-2008 , 21:03   Re: Advertisements
Reply With Quote #108

That error can only occur if it can't find advertisements.txt, as long as that file is in the configs folder and it actually has ads in it it should work fine. I'll obviously fix it so that error won't come up anymore, but that shouldn't be his problem.
__________________
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
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 05-06-2008 , 21:08   Re: Advertisements
Reply With Quote #109

You should make it say cant find ads.txt or something instead. Ya, I forgot to put it there.
__________________

DontWannaName is offline
dann
Senior Member
Join Date: Nov 2007
Old 05-08-2008 , 04:11   Re: Advertisements
Reply With Quote #110

ive been using {TEAM} and it seems that spectators are white and not green anyone else notice this?
dann 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 19:52.


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