Jump to content

Recommended Posts

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?

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...