Как можно починить музыку по определенным координатам?
local g_station = nil
sound.PlayURL("http://icecast.vgtrk.cdnvideo.ru/mayakfm_mp3_192kbps", "3d", function( station )
if ( IsValid( station ) ) then
station:SetPos((115, -362, -12223), (0 0 0)) -- ЗДЕСЬ ЭТА ****** ОШИБКА ')' expected near ','
station:Play()
-- Keep a reference to the audio object, so it doesn't get garbage collected which will stop the sound
g_station = station
else
LocalPlayer():ChatPrint( "Invalid URL!" )
end
end )
local g_station = nil
sound.PlayURL("http://icecast.vgtrk.cdnvideo.ru/mayakfm_mp3_192kbps", "3d", function( station )
if ( IsValid( station ) ) then
station:SetPos((115, -362, -12223), (0 0 0)) -- ЗДЕСЬ ЭТА ****** ОШИБКА ')' expected near ','
station:Play()
-- Keep a reference to the audio object, so it doesn't get garbage collected which will stop the sound
g_station = station
else
LocalPlayer():ChatPrint( "Invalid URL!" )
end
end )