Garry's Mod

Garry's Mod

Not enough ratings
[LazMod] Simple Adverts
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: Tool
File Size
Posted
2.102 KB
21 Jun, 2016 @ 4:45pm
1 Change Note ( view )

Subscribe to download
[LazMod] Simple Adverts

Description
This is server advertisement addon, which auto broadcast messages to players overtime
the addon is still under development, will be improved soon, opinions and glitch reports are welcome

Features:
  • Controlled by ConVars instead config files for faster access
  • Can switch between use different color each advert or use color fron ConVars

ConVars:
  • lm_advs_enable 1 = Enable the adverst or not
  • lm_advs_delay 30 = Time between advs being broadcasted
  • lm_advs_random 1 = Randomly broadcast the advs
  • lm_advs_debug 0 = Enabling debug mode will also print the advert to server console
  • lm_advs_color_r 100 = Color of advs (Red)
  • lm_advs_color_g 255 = Color of advs (Green)
  • lm_advs_color_b 100 = Color of advs (Blue)
  • lm_advs_color_usecvar 0 = Set to 1 to use colors from convars instead list

Commands:
  • /reloadadvs or !reloadadvs = Reload the SimpleAdverts from chat command
  • lm_reloadadvs = Reload the SimpleAdverts from client console or server console

How to use:
  1. Add the SimpleAdverts to your server content collection
  2. Restart the server and wait for addons are loaded and advert default files generated in /data/lazmod/simpleadvert
  3. Edit the language and advert list as you want
  4. Done!

Changelog:
2016.07.18
  • Rewrote some code

19 Comments
vicentefelipechile 14 Sep, 2021 @ 10:35am 
thanks for the addon
₊˚.♡ Yukina ♡.˚₊ 2 Aug, 2018 @ 12:15pm 
Is this dark rp?
AugmentedRazor 13 Jun, 2018 @ 2:32pm 
why the heck would anyone want advertisements on their game :T
BambusRatte 29 Jan, 2017 @ 4:45am 
Hey there, i don't know why, but in the simpleadvert folder are no files, can u fix it?
Cash 28 Jan, 2017 @ 8:38am 
does this work by doing /advert
LaZycAt  [author] 10 Dec, 2016 @ 7:17am 
Because send text message to players on server bothers you?
You should tell your host to remove the addons from server, not developers.
People decides what they need and what they install themselves, not from some random guy came out nowhere
LaZycAt  [author] 8 Dec, 2016 @ 8:23pm 
> Tapmemer
You can scare no one with privated profile and VAC banned.
LaZycAt  [author] 8 Dec, 2016 @ 8:16pm 
> Tapmemer
Please get your malicious identity off the Steam Community. We would like to have the Community clean.
- LaZycAt, who just lives everyday.
havent played rl for a month 21 Oct, 2016 @ 5:23pm 
but it works in solo, but in the serv, in /data/lazmod/simpleadver the file is empty in my ftp
LaZycAt  [author] 21 Oct, 2016 @ 2:17pm 
darn, maybe game update broke them, I'll check it later