|
|
@ -77,8 +77,10 @@ end |
|
|
|
|
|
|
|
|
|
|
|
function Quantum.Server.Char.GetPlayerChars( pl ) |
|
|
|
function Quantum.Server.Char.GetPlayerChars( pl ) |
|
|
|
local chars = {} |
|
|
|
local chars = {} |
|
|
|
|
|
|
|
local strtbl = {} |
|
|
|
for id, char in pairs( Quantum.Server.Char.Players ) do |
|
|
|
for id, char in pairs( Quantum.Server.Char.Players ) do |
|
|
|
chars[id] = char |
|
|
|
strtbl = string.Split( id, ";" ) |
|
|
|
|
|
|
|
if( strtbl[1] == pl:SteamID() ) then chars[id] = char end |
|
|
|
end |
|
|
|
end |
|
|
|
return chars |
|
|
|
return chars |
|
|
|
end |
|
|
|
end |