Raised This Month: $ Target: $400
 0% 

Advertisements 2.1 (Updated 2021/02/06)


Post New Thread Reply   
 
Thread Tools Display Modes
sotlol1
New Member
Join Date: Mar 2013
Old 03-23-2013 , 05:04   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1601

I cant use sm_advertisements_interval.
sotlol1 is offline
allienaded
AlliedModders Donor
Join Date: Feb 2013
Old 03-23-2013 , 11:42   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1602

Quote:
Originally Posted by DzzR View Post
I am running a CS:GO server and all that works for me are {green} and {team}. What's the latest version in the OP? Tried both the attached smx as well as complied the plugin locally and no luck.
This is what I use and all colors work: http://forums.alliedmods.net/showpos...postcount=1546

Just remember that a new line has to have atleast 1 character with the default color before colors work on that line properly.

Example:
Code:
    "6"
    {
        "type"        "S"
        "text"        " Anyone can set the next map! Say {GREEN}/setnextmap{DEFAULT}\n {LIGHTRED}DO NOT ABUSE! Doing so will result in a permanent ban.{DEFAULT}"
    }
notice the whitespace at the beginning and after \n

Last edited by allienaded; 03-23-2013 at 11:44.
allienaded is offline
seupoj
Senior Member
Join Date: Mar 2013
Location: India
Old 03-23-2013 , 13:50   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1603

Can this mod be compatible with morecolors.inc
__________________
seupoj is offline
Send a message via Skype™ to seupoj
iGANGNAM
AlliedModders Donor
Join Date: Sep 2012
Location: Lithuania
Old 03-25-2013 , 03:27   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1604

Hey, how about https://forums.alliedmods.net/showthread.php?t=153275 , if you are from Lithuania, it will show you stuff from Lithuania, if you are from Russia, it will show you stuff from Russia, what do you think?

Last edited by iGANGNAM; 03-25-2013 at 03:27.
iGANGNAM is offline
MPFzunnie
Junior Member
Join Date: Apr 2012
Location: The Netherlands
Old 03-26-2013 , 12:45   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1605

Hey i have this plugin installed on our server but the messages do not appear at all i think.
The advertisements.txt is inside addons/sourcemode/configs/ and contains this:

Code:
"Advertisements"
{
    "1"
    {
        "type"        "C"
        "text"        "www.csgods.com"
    }
    "2"
    {
        "type"        "T"
        "text"        "{ORANGE} Friendly fire is {BOOL:MP_FRIENDLYFIRE}."
    }
    "3"
    {
        "type"        "T"
        "text"        "Next map is {SM_NEXTMAP} in {TIMELEFT} minutes."
    }
    "4"
    {
        "type"        "T"
        "text"        "{GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}"
    }
    "5"
    {
        "type"        "T"
        "text"        "gameMe stats @ mpf.gameme.com"
    }
}
It doesn't seem to do anything
Can anyone provide me some help? I would like this to work

Thanks,

greetz zunnie
__________________
MPFzunnie is offline
Send a message via AIM to MPFzunnie
Bacardi
Veteran Member
Join Date: Jan 2010
Location: mom's basement
Old 03-27-2013 , 04:05   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1606

If you have game CS:GO (why the hell people not mention which game is)
  1. Don't web-compile plugins source code.Compile using SM 1.5.x or download advertisements.smx from first post.
  2. I assume, CS:GO not support TOP-LEFT messages. You can try sm_tsay hellou to see it yourself
Quote:
Originally Posted by MPFzunnie View Post
Hey i have this plugin installed on our server but the messages do not appear at all i think.
The advertisements.txt is inside addons/sourcemode/configs/ and contains this:
Spoiler

It doesn't seem to do anything
Can anyone provide me some help? I would like this to work

Thanks,

greetz zunnie
Bacardi is offline
illbill_rotterdam
Senior Member
Join Date: Sep 2012
Old 04-21-2013 , 12:58   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1607

Is it possible if I change the file name, for example advertisment.sp to advertisment2.sp and compile it so i have advertisment2.smx I therefore have two different advertisment plugins. So if my server settings are for competitive, other advertisement come. And if my server is also casual others advertisment come?
illbill_rotterdam is offline
Doggie52
Senior Member
Join Date: Jul 2007
Location: Sweden
Old 04-21-2013 , 13:15   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1608

Quote:
Originally Posted by illbill_rotterdam View Post
Is it possible if I change the file name, for example advertisment.sp to advertisment2.sp and compile it so i have advertisment2.smx I therefore have two different advertisment plugins. So if my server settings are for competitive, other advertisement come. And if my server is also casual others advertisment come?
You can do that, but you'll need some way of turning advertisement1 off when advertisement2 is on. And you'll need to edit the name of the configuration file that the plugin looks for (and then recompile the plugin) -- otherwise both advertisement1 and advertisement2 will be showing the same adverts.
__________________
Quote:
Originally Posted by Iltafragit View Post
4kg ram i5 processor
Doggie52 is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Location: The Netherlands
Old 04-21-2013 , 13:21   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1609

Or just add sm_advertisements_file "competitive_ads.txt" to your competitive config and call it a day.
__________________
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
StayOx
SourceMod Donor
Join Date: Jun 2012
Location: Gliese 581g
Old 05-03-2013 , 12:05   Re: Advertisements 0.6 (Updated 2013/03/08)
Reply With Quote #1610

Hello, how do I use UTF-8 text in Advertisements
Example: é, ç, ã, Σ, Ӂ, 汉, 语, ألماني, 독일어, Немецкий язык, þýska ....
Many people must have tried to use their native languages ​​which sometimes have special characters in the file advertisements.txt and the text does not appear correctly in the games
StayOx 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 08:21.


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