Files
Techmino/parts/modes/netBattle.lua
2021-02-11 16:19:42 +08:00

18 lines
304 B
Lua

return{
color=COLOR.white,
env={
--TODO: ?
},
load=function(playerData)
PLY.newPlayer(1)
local N=2
for i=1,#playerData do
if playerData[i].id==tostring(USER.id)then
PLAYERS[1].subID=playerData[1].sid
else
PLY.newRemotePlayer(N,false,playerData[i])
N=N+1
end
end
end,
}