Garry's Mod

Garry's Mod

47 ratings
[DarkRP] OOC/Advert/Ano Revamped
   
Award
Favorite
Favorited
Unfavorite
Content Type: Addon
Addon Type: ServerContent
Addon Tags: Fun, Roleplay
File Size
Posted
Updated
1.052 KB
Dec 7, 2016 @ 2:07pm
Nov 27, 2017 @ 9:26am
6 Change Notes ( view )

Subscribe to download
[DarkRP] OOC/Advert/Ano Revamped

Description
Hi, i decided to create an addon to revamp the ooc, the advert (that was replaced by billboards in darkrp 2.7.*) and to add the ano (anonymous) to create a better roleplay experience and the get back the old and good advert, you can disable the ooc, the advert or the ano by using the following console command below (require superadmin power)

Currently included command:

/ooc
Send a global message

//
Send a global message

/advert
Send an advert

/adv
Send an advert

/anonymous
Send an anonymous message

/ano
Send an anonymous message

** CONSOLE COMMAND **

disable_ooc = disable the /ooc command and the // command (disable the addon, not the original from gmod)
enable_ooc = enable the /ooc command and the // command from this script

disable_advert = disable the /advert and the /adv command of this script
enable_advert = enable the /advert and the /adv command of this script

disable_ano = disable the /ano and the /anonymous command of this script
enable_ano = enable the /ano and the /anonymous command of this script

All those commands require the superadmin rank !

** UPDATE **

After a lot of time being lazy about my workshop script, even tho i learnt a lot during this time, i decided to completely rewrite the script. It was poorly done and i decided to rewrite it (about 80% of it) and i made it as a argument based system, this way there is no chance of bug with weird syntax etc... i also added the way to disable/enable part of the script directly in game because it was such a pain to download the script, extract it, change the config, reupload it etc... so i tried to make it easier for everyone, i hope you will all like this update and there shouldn't be any bug PS. This new update have a way better optimization even tho its a simple addon !
30 Comments
Jusega Aug 21, 2022 @ 3:24pm 
работает в сандбоксе, заебись
Tee Jan 26, 2021 @ 2:49pm 
Ok yeah sure can work with that
ThuGapy  [author] Jan 26, 2021 @ 11:57am 
@Lukas no, extract it and edit it only on your server.
Tee Jan 26, 2021 @ 7:28am 
am i allowed to reupload it and edit it? (just translated one thing or so
rand Sep 17, 2019 @ 8:37am 
is there any way to make it work for other chats (not only standart)?
Knight May 30, 2018 @ 2:39pm 
Sorry, whenever I try to enable/disable any of the three comands via console. Side note: I have the SA rank.
Knight May 30, 2018 @ 2:39pm 
Keep getting the error shown in this pastebin link - https://pastebin.com/Y1yp4b26 also pasted the lua file the conflict is in.
ThuGapy  [author] Dec 16, 2017 @ 6:35am 
Must be a problem on your server, i have it on mine and player did not complain about any bug...
Woompa Dec 15, 2017 @ 11:24pm 
Does not work, its literally ONLY showing the ooc tag with a diff color For Me only. makes no sense at all.

everyone elses tag is the same except mine. please fix this
ThuGapy  [author] Nov 26, 2017 @ 7:43pm 
A new update is out, i apologize for everyone having bugs that i didnt fix, i completely rewrote the script and it should be way better (optimization and code in general) throughout my learning process i learnt a lot about functions that i didnt know when i made the script so it is now using an argument based system this way there should be no bug and the usage of the net library is way better, this way your server is the less subject to lag due to this addon, thanks for using my script and enjoy