SyntaxGameServer/RCCService2020/ExtraContent/LuaPackages/AppTempCommon/LuaChat/Flags/isNewFriendsEndpointsEnable...

11 lines
340 B
Lua

local CorePackages = game:GetService("CorePackages")
local Players = game:GetService("Players")
local ThrottleUserId = require(CorePackages.AppTempCommon.LuaApp.Utils.ThrottleUserId)
return function()
return ThrottleUserId(
game:DefineFastInt("LuaChatUseNewFriendsEndpointsV2", 0),
Players.LocalPlayer.UserId
)
end