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

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
Arkadietz
Senior Member
Join Date: Jul 2011
Old 12-26-2013 , 23:26   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1721

Could you add colors for S A chat message, like sm_say. Like: the following colors: {WHITE}, {RED}, {GREEN}, {BLUE}, {YELLOW}, {PURPLE}, {CYAN}, {ORANGE}, {PINK}, {OLIVE}, {LIME}, {VIOLET} and {LIGHTBLUE}. That will be more than great!
Arkadietz is offline
Fora
Member
Join Date: Aug 2012
Old 12-29-2013 , 01:13   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1722

sm_advertisements_reload:

KeyValues Error: RecursiveLoadFromBuffer: got } in key in file addons/sourcemod/configs/advertisements.txt
Advertisements, 2, text,
KeyValues Error: RecursiveLoadFromBuffer: got } in key in file addons/sourcemod/configs/advertisements.txt
Advertisements, 3, text,

Spoiler
Fora is offline
Snaggle
AlliedModders Donor
Join Date: Jul 2010
Location: England
Old 12-29-2013 , 03:50   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1723

PHP Code:
"Advertisements"
{
"1"
{
"type" "S"
"text" "{LIGHTGREEN}welcome"
}
"2"
{
"type" "S"
"text" "{GREEN}Adress: 89.225.172.249:27002"
}
"3"
{
"type" "S"
"text" "{LIGHTGREEN}Forum: forum.ut.re/"
}

Snaggle is offline
Fora
Member
Join Date: Aug 2012
Old 12-29-2013 , 05:06   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1724

O! Thanks!
Fora is offline
Pily
Junior Member
Join Date: Dec 2009
Old 12-29-2013 , 14:04   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1725

hi.

i want appear to advertisement randomly.

then i added some line. several time working. but finally stopped advertisement.

line 102.

new jump;

jump = GetRandomInt(1, MaxClients); //somekind of random number
for(new i = 1; i <= jump; i++)
{
if(!KvGotoNextKey(g_hAdvertisements))
{
KvRewind(g_hAdvertisements);
KvGotoFirstSubKey(g_hAdvertisements);
}
}
Pily is offline
Ms. Trooper
Senior Member
Join Date: Nov 2012
Old 12-29-2013 , 21:53   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1726

I'm using this on a CS:GO server and the ads are showing. But the text just stays white... How can I fix this?

Last edited by Ms. Trooper; 12-29-2013 at 21:54.
Ms. Trooper is offline
jinxswe
New Member
Join Date: Apr 2012
Location: Sweden
Old 01-02-2014 , 10:48   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1727

Dont know why but the colors dosent work for me...

And yes iv done like it says in OP

The messages work... but the colors dont.

{
"1"
{
"type" "S"
"text" "{LIGHTGREEN}Join our free mumble@ {DEFAULT}mumble.skyttegrav.se"
}
"2"
{
"type" "S"
"text" "{LIGHTGREEN}www.skyttegrav.se"
}
"3"
{
"type" "S"
"text" "Next map is {SM_NEXTMAP} in {TIMELEFT} minutes."
"flags" "cft"
}
"4"
{
"type" "S"
"text" "{GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}"
"flags" "z"
}
"5"
{
"type" "T"
"text" "{ORANGE} Admins: friendly fire is {BOOL:MP_FRIENDLYFIRE}."
"flags" ""
}
}
jinxswe is offline
Spyrek
Senior Member
Join Date: Jun 2009
Old 01-02-2014 , 14:24   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1728

Change "{COLOR}Text" to " {COLOR}Text" space before color.
Spyrek is offline
ShiiTake
Member
Join Date: May 2010
Old 01-12-2014 , 04:06   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1729

This plugin not work for me on my CS:GO server. The plugin works fine, but the messages dont load.
__________________
ShiiTake is offline
thoren
Junior Member
Join Date: Jan 2014
Old 01-13-2014 , 14:03   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1730

I have the same problem on CS GO too. I downloaded the attached piece. Please help me.

Commands are :
sm_advertisements_enabled 1
sm_advertisements_file "advertisements.txt"
sm_advertisements_interval 10
thoren 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 15:57.


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