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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 05-17-2008 , 14:39   Re: Advertisements 0.5 (Updated 05/17/08)
Reply With Quote #121

I have a useful request..

Put in an {ADMIN} one so it lists all the admins that are ingame and by setting the flag it only shows admins with that flag.

When you say admins will only see it, is it admins with the b flag or are a flags considered admins?
__________________


Last edited by DontWannaName; 05-17-2008 at 15:04.
DontWannaName is offline
dann
Senior Member
Join Date: Nov 2007
Old 05-17-2008 , 15:14   Re: Advertisements 0.5 (Updated 05/17/08)
Reply With Quote #122

I compiled this with 1.0.1.2125 but it doesn't seem to be working at all. I've changed my access to regular admin, donator and just a regular player and the adverts wont show for any of those groups. The first one should only show for admins and the second should show for everyone except admins.

Quote:
"Advertisements"
{
"1"
{
"type" "s"
"text" "{TEAM} keep your donation current otherwise you'll be seeing a lot more of these stupid ads."
"flags" ""
}
"2"
{
"type" "s"
"text" "{TEAM} type WEBSITE to visit our site"
"flags" "az"

etc.

etc.

}

}

Last edited by dann; 05-17-2008 at 16:03.
dann is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 05-17-2008 , 15:51   Re: Advertisements 0.5 (Updated 05/17/08)
Reply With Quote #123

My lightgreens wont work and it skips around. I havent restarted though.
__________________

DontWannaName is offline
MoggieX
Veteran Member
Join Date: Aug 2007
Location: n00bville
Old 05-17-2008 , 17:50   Re: Advertisements 0.5 (Updated 05/17/08)
Reply With Quote #124

Quote:
Originally Posted by DontWannaName View Post
My lightgreens wont work and it skips around. I havent restarted though.
We've got the same, no light green.

Also this doesn't appear to valid, what's the correct method for multiple messages at the same time?

PHP Code:
    "1"
    
{
        
"type"        "S"
        "text"        "{TEAM}========================================="
        "text"        "{GREEN}[UKManDown.co.uk]{LIGHTGREEN} Users of foul language will be {TEAM}banned"
        "text"        "{TEAM}========================================="
        "flags"        ""
    

Also, great idea on changing the original posts title, thus we know when an update has been made.

Matt
__________________
MoggieX is offline
Send a message via Skype™ to MoggieX
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 05-18-2008 , 07:38   Re: Advertisements 0.5 (Updated 05/17/08)
Reply With Quote #125

@dann: your file seems fine to me, as far as I know it should work.

@DontWannaName: I've heard that lightgreen doesn't work in CS:S, but I thought it would work for TF2. I'll have a look at it.

@MoggieX: that's not what I meant with multiple messages at the same time, I meant for example a center message and a hint message with the same text showing at the same time. Of course you have to watch out about for example colors not working in each type of advertisement.
Back to how to do multiple lines, I think you can use \x13 to make a new line in say messages.
__________________
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
FroL
Member
Join Date: Jul 2007
Old 05-18-2008 , 07:46   Re: Advertisements 0.5 (Updated 05/17/08)
Reply With Quote #126

Quote:
I think you can use \x13 to make a new line in say messages.
same examples please
__________________

3SMedia #1 | classic gameplay | tick 100 (81.25.49.19:27015)
3SMedia #2 | pro gaming | tick 100 (81.25.49.19:27016)
3SMedia #3 | deathmatch | tick 100 (81.25.49.19:27017)
Sorry for my VERY bad english .
FroL is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 05-18-2008 , 11:59   Re: Advertisements 0.5 (Updated 05/17/08)
Reply With Quote #127

Here is my file, some of them dont come up, perhaps cause its 2 lines? I dont think I did the colors right, need spaces maybe.
Attached Files
File Type: txt advertisements.txt (3.5 KB, 352 views)
__________________

DontWannaName is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 05-19-2008 , 08:42   Re: Advertisements 0.5 (Updated 05/17/08)
Reply With Quote #128

Your file seems fine to me DontWannaName, if you could tell me exactly which ones don't show up I can take a closer look.

@Eagle: do you mean an option to show all advertisements only to dead people? Or only specific advertisements?
__________________
Advertisements | REST in Pawn - HTTP client for JSON REST APIs
Please do not PM me with questions. Post in the plugin thread.

Last edited by DJ Tsunami; 05-19-2008 at 08:45.
DJ Tsunami is offline
J@y-R
Senior Member
Join Date: Jan 2007
Location: Hamburg (Germany)
Old 05-19-2008 , 17:17   Re: Advertisements 0.5 (Updated 05/17/08)
Reply With Quote #129

Hello

This is my config

Code:
"Advertisements"
{
    "1"
    {
        "type"        "HMT"
        "text"        "{ORANGE} visit www.fse-esport.de"
        "flags"        ""
    }
    "2"
    {
        "type"        "S"
        "text"        "{TEAM} visit www.fse-esport.de"
        "flags"        ""
    }
    "3"
    {
        "type"        "HT"
        "text"        "{LIGHTBLUE} The time is {TIME24}"
        "flags"        ""
    }
    "4"
    {
        "type"        "S"
        "text"        "{LIGHTGREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}"
        "flags"        ""
    }
    "5"
    {
        "type"        "TH"
        "text"        "{CYAN} Type vote_bullettime for Bulletime Vote"
        "flags"        ""
    }
    "6"
    {
        "type"        "TH"
        "text"        "{PURPLE} Type !settings for client commands list"
        "flags"        ""
    }
    "7"
    {
        "type"        "TH"
        "text"        "{RED} XXL-RPG+DM and many FUNSTUFF !!Have Fun!!"
        "flags"        ""
    }
    "8"
    {
        "type"        "S"
        "text"        "{GREEN} XTREME-RPG Type rpgmenu in chat"
        "flags"        ""
    }
    "9"
    {
        "type"        "M"
        "text"        "Current Map:{CURRENTMAP}"
        "flags"        ""
    }
}
and I see nothing !!!
What is wrong ??
My Sourcemod version is 1.0.1.2147

Greetz
JaY
J@y-R is offline
Send a message via ICQ to J@y-R Send a message via MSN to J@y-R
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 05-19-2008 , 17:27   Re: Advertisements 0.5 (Updated 05/17/08)
Reply With Quote #130

Are you an admin? Leaving flags empty means they only show to admins so.
__________________
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
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 10:08.


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