loader
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
pttman

pttman Muster

屬於你的大爆卦
  • Ptt 大爆卦
  • Lua table random
  • 離開本站
你即將離開本站

並前往https://zhidao.baidu.com/question/1759704253865464028.html

lua中,在一个table中随机取里面的一个值怎么取 - 百度知道

function readRandomValueInTable(Table) math.randomseed(os.time()) return Table[math.random(1,#Table)] end. 如果是数组表就用上面这种就可以了.

確定! 回上一頁

查詢 「Lua table random」的人也找了:

  1. Lua array
  2. Lua table random
  3. Lua random string
  4. Lua return table
  5. Lua table remove by key
  6. Lua table shuffle
  7. Lua random number
  8. Lua random seed

關於我們

pttman

pttman Muster

屬於你的大爆卦

聯終我們

聯盟網站

熱搜事件簿