联网推进36,部分功能已经可用

This commit is contained in:
MrZ626
2021-02-07 03:50:24 +08:00
parent eec05e7eb6
commit d86eb59963
22 changed files with 454 additions and 100 deletions

View File

@@ -5,10 +5,11 @@ return{
},
load=function(playerData)
PLY.newPlayer(1)
local N=2
for i=1,#playerData do
PLY.newRemotePlayer(N,false,playerData[i])
N=N+1
if playerData[1]then
PLAYERS[1].subID=playerData[1].sid
end
for i=2,#playerData do
PLY.newRemotePlayer(i,false,playerData[i])
end
end,
}