for youtube Videos i’m not sure that it should work but for normal feed and i dont get why it’s doesnt, itested ACC MP3 format and nothing happened (sorry for my english)
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138
Error running system event handling function for resource radio: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:33: attempt to call a nil value (method ‘Split’)
stack traceback:
server.lua:33: in function ‘stringSplit’
server.lua:5: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:175: in function citizen:/scripting/lua/scheduler.lua:174
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138
Sending heartbeat to live-internal.fivem.net:30110
Error running system event handling function for resource radio: citizen:/scripting/lua/scheduler.lua:41: Failed to execute thread: server.lua:33: attempt to call a nil value (method ‘Split’)
stack traceback:
server.lua:33: in function ‘stringSplit’
server.lua:5: in upvalue ‘handler’
citizen:/scripting/lua/scheduler.lua:175: in function citizen:/scripting/lua/scheduler.lua:174
stack traceback:
[C]: in function ‘error’
citizen:/scripting/lua/scheduler.lua:41: in field ‘CreateThreadNow’
citizen:/scripting/lua/scheduler.lua:174: in function citizen:/scripting/lua/scheduler.lua:138
function stringSplit(inputstr, sep)
if sep == nil then
sep = “%s”
end
local t={} ; i=1
for str in string.gmatch(inputstr, “([^”…sep…“]+)”) do
t[i] = str
i = i + 1
end
return t
end