Jump to content

[Cs:go] Advertisments


Aleex

Recommended Posts

This plugin was made for CS:Source, but works with CS:GO as I just tested on our server.

Go here: https://forums.alliedmods.net/showthread.php?p=592536
1. Download the 2 files from the 1st post:
advertisements.smx
advertisements.txt

2. Upload the advertisements.smx to /csgo/addons/sourcemod/plugins/

3. Make any modifications to the advertisements you would like shown in the advertisements.txt file.

4. Upload advertisements.txt /csgo/addons/sourcemod/config/

5. Restart your server

You should now see your ads.

There are different types of ways to display them, here is the legend:

Type
This field can contain the following letters:
C - A center message, like sm_csay.
H - A hint message, like sm_hsay.
M - A menu message, like sm_msay, but without the title or the Exit-option. 0 will still hide the message though. Will block 1-9 from switching weapons as long as it's showing.
S - A chat message, like sm_say. It supports the following colors: {DEFAULT}, {TEAM}, {GREEN} and {LIGHTGREEN}. {TEAM} and {LIGHTGREEN} unfortunately don't work together in a single advertisement, so it's one or the other. For example: {GREEN}Current {LIGHTGREEN}Map: {DEFAULT}{CURRENTMAP}
T A top-left message, like sm_tsay. It supports one of the following colors: {WHITE}, {RED}, {GREEN}, {BLUE}, {YELLOW}, {PURPLE}, {CYAN}, {ORANGE}, {PINK}, {OLIVE}, {LIME}, {VIOLET} and {LIGHTBLUE}. You can omit the color if you just want the normal color. For example to have an orange message, set text to: {ORANGE} Text here

Multiple types per advertisement are allowed, so you can show a single advertisement in multiple places at the same time.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...