Sziasztok! valamiért nem játsza le a sound-ot
--server
function hiall ( text )
outputChatBox ( "Sziasztok!" .. text .. ".", getRootElement(), 255, 255, 255, true)
triggerClientEvent ( root, "hiall", root )
end
setTimer ( countdown, 594000, 1, "Köszönöm hogy feljöttél a szerverre" )
--client
addEvent( "hiall", true )
addEventHandler( "hiall", getRootElement(), hiall )
function hiall ( text )
local sound = playSound("files/notification.mp3")
setSoundVolume(sound, 1.0)
end
mi lehet a probléma?