AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   General (https://forums.alliedmods.net/forumdisplay.php?f=58)
-   -   [cs:go]advertisments [issue] (https://forums.alliedmods.net/showthread.php?t=241718)

Tugamars 06-08-2014 06:41

[cs:go]advertisments [issue]
 
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

Amroth 06-08-2014 06:52

Re: [cs:go]advertisments [issue]
 
You can add {DEFAULT} before all colors

Quote:

{DEFAULT} {GREEN} text
work fine like this.

cREANy0 06-08-2014 09:36

Re: [cs:go]advertisments [issue]
 
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

Tugamars 06-09-2014 06:06

Re: [cs:go]advertisments [issue]
 
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 06-09-2014 15:04

Re: [cs:go]advertisments [issue]
 
ITs work , thanks .


All times are GMT -4. The time now is 03:27.

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