SuleymanM Posted January 11, 2013 Share Posted January 11, 2013 HI, How make a resource or already exists when 3 . 2 . 1 to play sound "One , .... " SOunds.mp3 already exists in gamemode.... Link to comment
csiguusz Posted January 11, 2013 Share Posted January 11, 2013 You can play a sound with the playSound function Link to comment
SuleymanM Posted January 12, 2013 Author Share Posted January 12, 2013 How create a function? Link to comment
Castillo Posted January 12, 2013 Share Posted January 12, 2013 You're talking about race? if so, search for: g_RaceStartCountdown = Countdown.create(6, launchRace) g_RaceStartCountdown:useImages('img/countdown_%d.png', 474, 204) g_RaceStartCountdown:enableFade(true) in "race/race_server.lua" and add this after it: g_RaceStartCountdown:addClientHook(3, 'playSoundFrontEnd', 44) g_RaceStartCountdown:addClientHook(2, 'playSoundFrontEnd', 44) g_RaceStartCountdown:addClientHook(1, 'playSoundFrontEnd', 44) g_RaceStartCountdown:addClientHook(0, 'playSoundFrontEnd', 45) Link to comment
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now