forked from ZionDevelopers/sui-scoreboard
Update lua/sui_scoreboard/client/scoreboard.lua
Co-Authored-By: VXP <uavxp29@gmail.com>
This commit is contained in:
parent
32791b332a
commit
ca0562bcfe
@ -102,7 +102,7 @@ function PANEL:Init()
|
||||
|
||||
gameevent.Listen( "player_disconnect" )
|
||||
hook.Add( "player_disconnect", "suiscoreboardPlayerDisconnect", function( data )
|
||||
local name = data.name // Same as Player:Nick()
|
||||
local name = data.name -- Same as Player:Nick()
|
||||
local steamid = data.networkid // Same as Player:SteamID()
|
||||
local id = data.userid // Same as Player:UserID()
|
||||
local bot = data.bot // Same as Player:IsBot()
|
||||
@ -321,4 +321,4 @@ function PANEL:UpdateScoreboard( force )
|
||||
end
|
||||
end
|
||||
|
||||
vgui.Register( "suiscoreboard", PANEL, "Panel" )
|
||||
vgui.Register( "suiscoreboard", PANEL, "Panel" )
|
||||
|
Loading…
Reference in New Issue
Block a user