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)

qcg33k 05-03-2008 00:32

Re: Advertisements
 
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.

DontWannaName 05-03-2008 00:42

Re: Advertisements
 
I took M off so dont use that for TF2. It does do that.

DJ Tsunami 05-03-2008 08:39

Re: Advertisements
 
Yeah, they'd have to press 0 first to hide the M advert. There's no way around that.

serpent666 05-04-2008 11:04

Re: Advertisements
 
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?

DJ Tsunami 05-04-2008 14:11

Re: Advertisements
 
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?

serpent666 05-05-2008 04:14

Re: Advertisements
 
im using it for counter strike source, it shows up for around 1 second
hardly enough to read even 4 words

DontWannaName 05-06-2008 20:48

Re: Advertisements
 
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()


DJ Tsunami 05-06-2008 21:03

Re: Advertisements
 
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.

DontWannaName 05-06-2008 21:08

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

dann 05-08-2008 04:11

Re: Advertisements
 
ive been using {TEAM} and it seems that spectators are white and not green anyone else notice this?


All times are GMT -4. The time now is 00:21.

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