Jump to content

Welcome to Steams Community @ Play. Win. Repeat.
Register now to gain access to all of our features. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more. If you already have an account, login here - otherwise create an account for free today!

Bun venit pe Steams Community @ Play. Win. Repeat.

Bun venit pe Steams Community @ Play. Win. Repeat., pentru a avea full acces la forum te rugam sa te inregistrezi.
Ai mai multe motive pentru care sa te inregistrezi:
  • Acces la un forum structurat in parametri profesionali
  • Sansa de a da sau a primi like din partea membriilor
  • Sansa de a face parte din echipa steams
  • Alaturarea unei comunitati de viitor
Inregistreaza-te gratuit, acum!

In caz ca aveti probleme cu activarea/crearea/conectarea contului de pe forum lasati-ne un mesaj aici
Guest Message by DevFuse
 

Photo

[Cs:go] Advertisments


  • Please log in to reply
No replies to this topic

#1
Aleex

Aleex

    Incepator

  • Members
  • PipPip
  • 596 posts
  • Game Nick:UzZy112
  • Y!M:uzzy_steams
  • Country:
  • City:Tg Neamt

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

Go here: https://forums.allie...ad.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.




1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users