3D2D Textscreens Garry's Mod Workshop Addon
This addon can be installed via the Steam Workshop for Garry's Mod - I do not recommend manually installing this addon via git.
ss_render_range
controls how far textscreens have to be away from you in order to render (default 1500
). Setting this to a lower number can help with lag on older machinesss_render_rainbow
controls if rainbow textscreens should actually rotate their colours, or render as solid white (default enabled 1
). 0
will cause them to render as solid white, which can be beneficial for accessibilitysbox_maxtextscreens
controls the maximum amount of text screens that each player can spawn. This defaults to 1. This cvar only exists on the server, so make sure it's set via RCON, or in something like server.cfg.ss_enable_rainbow
controls whether players on your server can use the rainbow effect. Set this to 0
in your server.cfg
to prevent anyone from using rainbow effects.ss_max_characters
controls whether players on your server can use a lot of characters per lines. Set this to any number
in your server.cfg
to prevent anyone from using more characters.This addon supports a PlayerSpawnTextscreen
hook that passes the player context. If this hook returns false, the player will be prevented from spawning a textscreen. For example:
hook.Add("PlayerSpawnTextscreen", "MyCustomTextscreensSpawnFunc", function(ply)
return ply:IsVIP()
end)
This addon supports custom permissions via the use of a TextscreensCanAdmin
hook. When this hook isn't present, or doesn't return anything, it defaults to an IsSuperAdmin
check. If you want to override this behaviour for your own admin permissions, create a hook that exists both server and client side, similar to the following:
hook.Add("TextscreensCanAdmin", "MyCustomAdminFunc", function(ply)
return ply:SteamID() == "STEAM_0:0:43716939"
end)
Further information can be found on the Steam Workshop for Garry's Mod or on my website.
All pull requests welcomed.