Raised This Month: $ Target: $400
 0% 

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-11-2009 , 10:21   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #451

Put it in server.cfg.
__________________
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
vegetablegod
Member
Join Date: Mar 2009
Location: Greeneville, TN
Old 04-11-2009 , 10:23   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #452

I first tried server.cfg and it didn't work. sourcemod.cfg works though.
__________________
vegetablegod is offline
Doggie52
Senior Member
Join Date: Jul 2007
Location: Sweden
Old 04-12-2009 , 05:01   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #453

Tsunami, I really do not want to stress you or nag you in any way, but are you thinking/planning a randomizer feature for this plugin?
__________________
Quote:
Originally Posted by Iltafragit View Post
4kg ram i5 processor
Doggie52 is offline
Haggis
Member
Join Date: Jun 2008
Old 04-13-2009 , 06:24   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #454

When i put in what colour i want the text shows up white with the colour i wrote in brackets shows up,this is what i put in text


"Advertisements"
{
"1"
{
"type" "H"
"text" "{BLUE}www.gamingbountyhunters.co.uk"
}
"3"
{
"type" "T"
"text" "{CYAN}Next map is {SM_NEXTMAP} in {TIMELEFT} minutes."
}
"4"
{
"type" "T"
"text" "{GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}"
"flags" ""
}
"5"
{
"type" "S"
"text" "{ORANGE} Join our forums and tell us what you think of the server"
"flags" ""
}
"6"
{
"type" "S"
"text" "{GREEN}Tell us what custom maps you you like"
"flags" ""
}
"7"
{
"type" "M"
"text" "{ORANGE} Type rtv if you dont like the map choice"
"flags" ""
}
"8"
{
"type" "S"
"text" "{BLUE}www.gamingbountyhunters.co.uk"
}
"9"
{
"type" "T"
"text" "{BLUE}www.gamingbountyhunters.co.uk"
}
}
What have i done wrong.
Haggis is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-13-2009 , 13:06   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #455

Look at the example for type T.
__________________
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
Haggis
Member
Join Date: Jun 2008
Old 04-15-2009 , 18:00   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #456

"type" "T"
"text" "{GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}"
"flags" ""

I re read the advertisment txt and realised that only S and T can use different colours but the type T is still printing the whole of what is written above in white instead of pinting it in the colours stated.
Haggis is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-15-2009 , 18:09   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #457

The example for T clearly has a space between the color and the text.
__________________
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
Haggis
Member
Join Date: Jun 2008
Old 04-16-2009 , 14:56   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #458

I fixed it,cheers for the help
Haggis is offline
ObiPCPP
Junior Member
Join Date: Apr 2009
Old 04-18-2009 , 20:03   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #459

"1"
{
"type" "S"
"text" "{GREEN} Type !votemenu in chat for a list of available votes"
}
"2"
{
"type" "S"
"text" "{GREEN} Next map is {SM_NEXTMAP} in {TIMELEFT} minutes."
}


Any reason why the above is printing "{GREEN}" to chat instead of making it the colour green?

This is for TF2.
ObiPCPP is offline
DontWannaName
Veteran Member
Join Date: Jun 2007
Location: VALVe Land, WA
Old 04-19-2009 , 03:49   Re: Advertisements 0.5.5 (Updated 05/26/08)
Reply With Quote #460

No space after green perhaps.
__________________

DontWannaName 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 18:26.


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