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