Raised This Month: $ Target: $400
 0% 

[cs:go]advertisments [issue]


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Tugamars
Member
Join Date: Mar 2014
Old 06-08-2014 , 06:41   [cs:go]advertisments [issue]
Reply With Quote #1

Good day, I come to report a problem is probably due to the fact that the plugin has been developed for the CSS and not for CS: GO.

I have the "Advertisements" (https://forums.alliedmods.net/showth...55705&page=141) plugin and it is working properly, send messages, but not send them with color, I will let down the my advertisements.txt, done diverssas attempts.

Code:
 
"Advertisements" 
{
"1" 
{
"type" "S" 
"text" "{GREEN} Welcome to server" 
} 
"2" 
{
"type" "S" 
"text" "{PINK} [email protected]" 
} 
"3" 
{
"type" "S" 
"text" "{DEFAULT} {PURPLE} test3" 
} 
"4" 
{
"type" "S" 
"text" "{GREEN} {DEFAULT} Test" 
} 
"5" 
{
"type" "S" 
"text" "{ORANGE} Admins: friendly fire is {BOOL: mp_friendlyfire}." 
} 
}
And no color appears.

Thanks, I await an answer: D

Last edited by Tugamars; 06-08-2014 at 06:42.
Tugamars is offline
Amroth
Senior Member
Join Date: Apr 2013
Location: /root
Old 06-08-2014 , 06:52   Re: [cs:go]advertisments [issue]
Reply With Quote #2

You can add {DEFAULT} before all colors

Quote:
{DEFAULT} {GREEN} text
work fine like this.
Amroth is offline
cREANy0
SourceMod Donor
Join Date: Jul 2012
Location: Germany
Old 06-08-2014 , 09:36   Re: [cs:go]advertisments [issue]
Reply With Quote #3

Change this:

Code:
 
"Advertisements" 
{
"1" 
{
"type" "S" 
"text" "{GREEN} Welcome to server" 
} 
"2" 
{
"type" "S" 
"text" "{PINK} [email protected]" 
} 
"3" 
{
"type" "S" 
"text" "{DEFAULT} {PURPLE} test3" 
} 
"4" 
{
"type" "S" 
"text" "{GREEN} {DEFAULT} Test" 
} 
"5" 
{
"type" "S" 
"text" "{ORANGE} Admins: friendly fire is {BOOL: mp_friendlyfire}." 
} 
}
to this and it will work:

Code:
 
"Advertisements" 
{
"1" 
{
"type" "S" 
"text" " {GREEN} Welcome to server" 
} 
"2" 
{
"type" "S" 
"text" " {PINK} [email protected]" 
} 
"3" 
{
"type" "S" 
"text" "  {DEFAULT} {PURPLE} test3" 
} 
"4" 
{
"type" "S" 
"text" " {GREEN} {DEFAULT} Test" 
} 
"5" 
{
"type" "S" 
"text" " {ORANGE} Admins: friendly fire is {BOOL: mp_friendlyfire}." 
} 
}
greetz,
cREANy0
__________________

Last edited by cREANy0; 06-08-2014 at 09:37.
cREANy0 is offline
Tugamars
Member
Join Date: Mar 2014
Old 06-09-2014 , 06:06   Re: [cs:go]advertisments [issue]
Reply With Quote #4

Thanks Amroth and cREANy0 .

But on your example , creany0 , i dont see any diference between two wexamples of advertisements.txt .

Im gone a try the first option , but i dont nknow what colors i can use on csgo .
Tugamars is offline
Tugamars
Member
Join Date: Mar 2014
Old 06-09-2014 , 15:04   Re: [cs:go]advertisments [issue]
Reply With Quote #5

ITs work , thanks .

Last edited by Tugamars; 06-09-2014 at 15:09.
Tugamars 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:55.


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