mirror of
https://github.com/lifestorm/wnsrc.git
synced 2025-12-17 05:43:46 +03:00
27 lines
855 B
Lua
27 lines
855 B
Lua
|
|
--[[
|
||
|
|
| 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)
|