mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 13:53:45 +03:00
Upload
This commit is contained in:
27
gamemodes/helix/plugins/cinematictext/sv_plugin.lua
Normal file
27
gamemodes/helix/plugins/cinematictext/sv_plugin.lua
Normal file
@@ -0,0 +1,27 @@
|
||||
--[[
|
||||
| This file was obtained through the combined efforts
|
||||
| of Madbluntz & Plymouth Antiquarian Society.
|
||||
|
|
||||
| Credits: lifestorm, Gregory Wayne Rossel JR.,
|
||||
| Maloy, DrPepper10 @ RIP, Atle!
|
||||
|
|
||||
| Visit for more: https://plymouth.thetwilightzone.ru/
|
||||
--]]
|
||||
|
||||
local PLUGIN = PLUGIN
|
||||
|
||||
util.AddNetworkString("openCinematicSplashMenu")
|
||||
util.AddNetworkString("triggerCinematicSplashMenu")
|
||||
|
||||
net.Receive("triggerCinematicSplashMenu", function(_, client)
|
||||
if not client:IsAdmin() then return end
|
||||
|
||||
net.Start("triggerCinematicSplashMenu")
|
||||
net.WriteString(net.ReadString()) -- text
|
||||
net.WriteString(net.ReadString()) --bigtext
|
||||
net.WriteUInt(net.ReadUInt(6), 6) --duration
|
||||
net.WriteBool(net.ReadBool()) -- blackBars
|
||||
net.WriteBool(net.ReadBool()) -- music
|
||||
net.WriteColor(net.ReadColor()) -- color
|
||||
net.Broadcast()
|
||||
end)
|
||||
Reference in New Issue
Block a user