local memory = require 'memory'
local act = false
function main()
if not isSampLoaded() or not isSampfuncsLoaded() then return end
while not isSampAvailable() do wait(1000) end
sampRegisterChatCommand("audiostream", cmd_audiostream)
while true do
wait(0)
end
end
function cmd_audiostream()
if act then
memory.write(sampGetBase() + 104848, 9449, 2, true)-- включает аудиострим
else
memory.write(sampGetBase() + 104848, 50064, 2, true)-- выключает аудиострим
end