This commit is contained in:
lifestorm
2024-08-05 18:40:29 +03:00
parent 9f505a0646
commit c6d9b6f580
8044 changed files with 1853472 additions and 21 deletions

View 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 meta_ply = FindMetaTable("Player")
VyHub.user_id = VyHub.user_id or nil
function meta_ply:VyHubID()
if IsValid(self) then
if self == LocalPlayer() then
return VyHub.user_id
else
MsgN("ERROR: Cannot get VyHubID of other users on the client side.")
end
end
end
net.Receive("vyhub_user_id", function ()
VyHub.user_id = net.ReadString()
end)