suic1de666 Участник Автор темы 77 26 3 Мар 2019 #1 Нужно получить количество людей в стриме, но если их ид больше 105, то не показывать их. как это реализовать?
Нужно получить количество людей в стриме, но если их ид больше 105, то не показывать их. как это реализовать?
imring Ride the Lightning Всефорумный модератор 2,366 2,557 5 Мар 2019 #16 suic1de666 написал(а): увидел, только выводит оно что-то не ясное Lua: [ML] (script) Players_in_stream.lua: table: 0x0a71fe58 [ML] (script) Players_in_stream.lua: table: 0x0a720310 [ML] (script) Players_in_stream.lua: table: 0x0a720438 [ML] (script) Players_in_stream.lua: table: 0x0a72b240 [ML] (script) Players_in_stream.lua: table: 0x0a723440 [ML] (script) Players_in_stream.lua: table: 0x0a724940 [ML] (script) Players_in_stream.lua: table: 0x0a724a68 [ML] (script) Players_in_stream.lua: table: 0x0a731980 [ML] (script) Players_in_stream.lua: table: 0x0a731f30 [ML] (script) Players_in_stream.lua: table: 0x0a7323c0 [ML] (script) Players_in_stream.lua: table: 0x0a732878 [ML] (script) Players_in_stream.lua: table: 0x036f9920 [ML] (script) Players_in_stream.lua: table: 0x0a77c430 [ML] (script) Players_in_stream.lua: table: 0x0a86e950 [ML] (script) Players_in_stream.lua: table: 0x0a871498 [ML] (script) Players_in_stream.lua: table: 0x0371acd8 [ML] (script) Players_in_stream.lua: table: 0x0a71a218 [ML] (script) Players_in_stream.lua: table: 0x0a7831a8 [ML] (script) Players_in_stream.lua: table: 0x0a760e58 [ML] (script) Players_in_stream.lua: table: 0x0a76dd70 [ML] (script) Players_in_stream.lua: table: 0x0a71a500 [ML] (script) Players_in_stream.lua: table: 0x0a719cc8 [ML] (script) Players_in_stream.lua: table: 0x0a71a080 [ML] (script) Players_in_stream.lua: table: 0x0a71b250 [ML] (script) Players_in_stream.lua: table: 0x0a71b940 [ML] (script) Players_in_stream.lua: table: 0x0a71baa0 [ML] (script) Players_in_stream.lua: table: 0x0a71c538 [ML] (script) Players_in_stream.lua: table: 0x0a721920 [ML] (script) Players_in_stream.lua: table: 0x0a71e700 [ML] (script) Players_in_stream.lua: table: 0x0a71f6f0 [ML] (script) Players_in_stream.lua: table: 0x0a720818 [ML] (script) Players_in_stream.lua: table: 0x0a720b08 [ML] (script) Players_in_stream.lua: table: 0x0a72c1b0 [ML] (script) Players_in_stream.lua: table: 0x0a72c308 [ML] (script) Players_in_stream.lua: table: 0x0a72cbc0 [ML] (script) Players_in_stream.lua: table: 0x0a723f18 [ML] (script) Players_in_stream.lua: table: 0x0a869588 [ML] (script) Players_in_stream.lua: table: 0x0a869ac8 [ML] (script) Players_in_stream.lua: table: 0x037165b0 [ML] (script) Players_in_stream.lua: table: 0x0371eaf0 [ML] (script) Players_in_stream.lua: table: 0x03710830 [ML] (script) Players_in_stream.lua: table: 0x0a71bf70 [ML] (script) Players_in_stream.lua: table: 0x0a71e5d0 [ML] (script) Players_in_stream.lua: table: 0x0a71ec68 [ML] (script) Players_in_stream.lua: table: 0x0a7209b0 [ML] (script) Players_in_stream.lua: table: 0x0a7216d0 [ML] (script) Players_in_stream.lua: table: 0x0a72cd48 [ML] (script) Players_in_stream.lua: table: 0x0a723010 [ML] (script) Players_in_stream.lua: table: 0x036fb6c8 [ML] (script) Players_in_stream.lua: table: 0x036fb808 [ML] (script) Players_in_stream.lua: table: 0x036fc048 [ML] (script) Players_in_stream.lua: table: 0x036fc530 [ML] (script) Players_in_stream.lua: table: 0x036ff280 [ML] (script) Players_in_stream.lua: table: 0x0a76eb38 [ML] (script) Players_in_stream.lua: table: 0x0a71fbb0 [ML] (script) Players_in_stream.lua: table: 0x0a723510 [ML] (script) Players_in_stream.lua: table: 0x0a715f30 [ML] (script) Players_in_stream.lua: table: 0x0a719020 [ML] (script) Players_in_stream.lua: table: 0x0a71a3d0 [ML] (script) Players_in_stream.lua: table: 0x0a71a760 [ML] (script) Players_in_stream.lua: table: 0x0a71b5c0 [ML] (script) Players_in_stream.lua: table: 0x0a71c638 [ML] (script) Players_in_stream.lua: table: 0x0a722448 [ML] (script) Players_in_stream.lua: table: 0x0a722ce0 [ML] (script) Players_in_stream.lua: table: 0x0a71e518 [ML] (script) Players_in_stream.lua: table: 0x0a71ebb0 [ML] (script) Players_in_stream.lua: table: 0x0a71fa70 [ML] (script) Players_in_stream.lua: table: 0x0a720228 [ML] (script) Players_in_stream.lua: table: 0x0a7215f0 [ML] (script) Players_in_stream.lua: table: 0x0a72b190 [ML] (script) Players_in_stream.lua: table: 0x0a72cc90 [ML] (script) Players_in_stream.lua: table: 0x0a7233d8 [ML] (script) Players_in_stream.lua: table: 0x0a719330 Нажмите для раскрытия... выводит таблицу. чтобы узнать сколько всего: #ids. а узнать их ид: Lua: for i = 1, #ids do print(ids[i]) end Реакции: suic1de666 Позитивный голос 0 Негативный голос
suic1de666 написал(а): увидел, только выводит оно что-то не ясное Lua: [ML] (script) Players_in_stream.lua: table: 0x0a71fe58 [ML] (script) Players_in_stream.lua: table: 0x0a720310 [ML] (script) Players_in_stream.lua: table: 0x0a720438 [ML] (script) Players_in_stream.lua: table: 0x0a72b240 [ML] (script) Players_in_stream.lua: table: 0x0a723440 [ML] (script) Players_in_stream.lua: table: 0x0a724940 [ML] (script) Players_in_stream.lua: table: 0x0a724a68 [ML] (script) Players_in_stream.lua: table: 0x0a731980 [ML] (script) Players_in_stream.lua: table: 0x0a731f30 [ML] (script) Players_in_stream.lua: table: 0x0a7323c0 [ML] (script) Players_in_stream.lua: table: 0x0a732878 [ML] (script) Players_in_stream.lua: table: 0x036f9920 [ML] (script) Players_in_stream.lua: table: 0x0a77c430 [ML] (script) Players_in_stream.lua: table: 0x0a86e950 [ML] (script) Players_in_stream.lua: table: 0x0a871498 [ML] (script) Players_in_stream.lua: table: 0x0371acd8 [ML] (script) Players_in_stream.lua: table: 0x0a71a218 [ML] (script) Players_in_stream.lua: table: 0x0a7831a8 [ML] (script) Players_in_stream.lua: table: 0x0a760e58 [ML] (script) Players_in_stream.lua: table: 0x0a76dd70 [ML] (script) Players_in_stream.lua: table: 0x0a71a500 [ML] (script) Players_in_stream.lua: table: 0x0a719cc8 [ML] (script) Players_in_stream.lua: table: 0x0a71a080 [ML] (script) Players_in_stream.lua: table: 0x0a71b250 [ML] (script) Players_in_stream.lua: table: 0x0a71b940 [ML] (script) Players_in_stream.lua: table: 0x0a71baa0 [ML] (script) Players_in_stream.lua: table: 0x0a71c538 [ML] (script) Players_in_stream.lua: table: 0x0a721920 [ML] (script) Players_in_stream.lua: table: 0x0a71e700 [ML] (script) Players_in_stream.lua: table: 0x0a71f6f0 [ML] (script) Players_in_stream.lua: table: 0x0a720818 [ML] (script) Players_in_stream.lua: table: 0x0a720b08 [ML] (script) Players_in_stream.lua: table: 0x0a72c1b0 [ML] (script) Players_in_stream.lua: table: 0x0a72c308 [ML] (script) Players_in_stream.lua: table: 0x0a72cbc0 [ML] (script) Players_in_stream.lua: table: 0x0a723f18 [ML] (script) Players_in_stream.lua: table: 0x0a869588 [ML] (script) Players_in_stream.lua: table: 0x0a869ac8 [ML] (script) Players_in_stream.lua: table: 0x037165b0 [ML] (script) Players_in_stream.lua: table: 0x0371eaf0 [ML] (script) Players_in_stream.lua: table: 0x03710830 [ML] (script) Players_in_stream.lua: table: 0x0a71bf70 [ML] (script) Players_in_stream.lua: table: 0x0a71e5d0 [ML] (script) Players_in_stream.lua: table: 0x0a71ec68 [ML] (script) Players_in_stream.lua: table: 0x0a7209b0 [ML] (script) Players_in_stream.lua: table: 0x0a7216d0 [ML] (script) Players_in_stream.lua: table: 0x0a72cd48 [ML] (script) Players_in_stream.lua: table: 0x0a723010 [ML] (script) Players_in_stream.lua: table: 0x036fb6c8 [ML] (script) Players_in_stream.lua: table: 0x036fb808 [ML] (script) Players_in_stream.lua: table: 0x036fc048 [ML] (script) Players_in_stream.lua: table: 0x036fc530 [ML] (script) Players_in_stream.lua: table: 0x036ff280 [ML] (script) Players_in_stream.lua: table: 0x0a76eb38 [ML] (script) Players_in_stream.lua: table: 0x0a71fbb0 [ML] (script) Players_in_stream.lua: table: 0x0a723510 [ML] (script) Players_in_stream.lua: table: 0x0a715f30 [ML] (script) Players_in_stream.lua: table: 0x0a719020 [ML] (script) Players_in_stream.lua: table: 0x0a71a3d0 [ML] (script) Players_in_stream.lua: table: 0x0a71a760 [ML] (script) Players_in_stream.lua: table: 0x0a71b5c0 [ML] (script) Players_in_stream.lua: table: 0x0a71c638 [ML] (script) Players_in_stream.lua: table: 0x0a722448 [ML] (script) Players_in_stream.lua: table: 0x0a722ce0 [ML] (script) Players_in_stream.lua: table: 0x0a71e518 [ML] (script) Players_in_stream.lua: table: 0x0a71ebb0 [ML] (script) Players_in_stream.lua: table: 0x0a71fa70 [ML] (script) Players_in_stream.lua: table: 0x0a720228 [ML] (script) Players_in_stream.lua: table: 0x0a7215f0 [ML] (script) Players_in_stream.lua: table: 0x0a72b190 [ML] (script) Players_in_stream.lua: table: 0x0a72cc90 [ML] (script) Players_in_stream.lua: table: 0x0a7233d8 [ML] (script) Players_in_stream.lua: table: 0x0a719330 Нажмите для раскрытия... выводит таблицу. чтобы узнать сколько всего: #ids. а узнать их ид: Lua: for i = 1, #ids do print(ids[i]) end
suic1de666 Участник Автор темы 77 26 5 Мар 2019 #17 imring написал(а): выводит таблицу. чтобы узнать сколько всего: #ids. а узнать их ид: Lua: for i = 1, #ids do print(ids[i]) end Нажмите для раскрытия... Спасибо большое <3 <3 <3 @}->--@}->--@}->--@}->--@}->-- Позитивный голос 0 Негативный голос
imring написал(а): выводит таблицу. чтобы узнать сколько всего: #ids. а узнать их ид: Lua: for i = 1, #ids do print(ids[i]) end Нажмите для раскрытия... Спасибо большое <3 <3 <3 @}->--@}->--@}->--@}->--@}->--