abner007 Posted November 7, 2018 Share Posted November 7, 2018 function REV_CMD.GetHostRoomList(NetResponse) --local NetResponse = ParseCommand(string.sub(TotalData,5)) gZone1Id = NetResponse.arg.roomList[1].roomId gZone2Id = NetResponse.arg.roomList[2].roomId gZone3Id = NetResponse.arg.roomList[3].roomId gZone4Id = NetResponse.arg.roomList[4].roomId local tempID = string.sub(gZone1Id,8,8)..string.sub(gZone2Id,8,8)..string.sub(gZone3Id,8,8)..string.sub(gZone4Id,8,8) print(gZone1Id , gZone2Id , gZone3Id , gZone4Id) C4:UpdateProperty('Zone ID',tempID) GetMapInput() rev = {} end function GetMapInput() gMapInput = { [0] = gZone1Id, [1] = gZone2Id, [2] = gZone3Id, [3] = gZone4Id, } endHello,there are some problem with my diver. Could you teach me about it,Now the problem is I don‘t know how to tell the diver which gzone id and roomid was in the same room!thanks a lot! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.