Miika Posted October 5, 2014 Posted October 5, 2014 It plays first sound but no more. function viivat(race) outputChatBox("3", getRootElement(), 255, 255, 255) playSoundFrontEnd ( race, 43 ) setTimer ( viivat2, 1000, 1 ) end addCommandHandler("viivat", viivat) function viivat2(racesecond) outputChatBox("2", getRootElement(), 255, 255, 255) playSoundFrontEnd ( racesecond, 43 ) setTimer ( viivat3, 1000, 1 ) end function viivat3(racethird) outputChatBox("1", getRootElement(), 255, 255, 255) playSoundFrontEnd ( racethird, 43 ) setTimer ( viivat4, 1000, 1 ) end function viivat4(racefinal) outputChatBox("NYT!", getRootElement(), 255, 255, 0) playSoundFrontEnd ( racefinal, 44 ) end Real motorbike backflip / frontflip script: https://forum.mtasa.com/viewtopic.php?f=108&t=98191
Anubhav Posted October 5, 2014 Posted October 5, 2014 function viivat(race) outputChatBox("3", getRootElement(), 255, 255, 255) playSoundFrontEnd ( race, 43 ) setTimer ( viivat2, 1000, 1, race ) end addCommandHandler("viivat", viivat) function viivat2(racesecond) outputChatBox("2", getRootElement(), 255, 255, 255) playSoundFrontEnd ( racesecond, 43 ) setTimer ( viivat3, 1000, 1, racesecond ) end function viivat3(racethird) outputChatBox("1", getRootElement(), 255, 255, 255) playSoundFrontEnd ( racethird, 43 ) setTimer ( viivat4, 1000, 1, racethird ) end function viivat4(racefinal) outputChatBox("NYT!", getRootElement(), 255, 255, 0) playSoundFrontEnd ( racefinal, 44 ) end See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
Miika Posted October 5, 2014 Author Posted October 5, 2014 function viivat(race) outputChatBox("3", getRootElement(), 255, 255, 255) playSoundFrontEnd ( race, 43 ) setTimer ( viivat2, 1000, 1, race ) end addCommandHandler("viivat", viivat) function viivat2(racesecond) outputChatBox("2", getRootElement(), 255, 255, 255) playSoundFrontEnd ( racesecond, 43 ) setTimer ( viivat3, 1000, 1, racesecond ) end function viivat3(racethird) outputChatBox("1", getRootElement(), 255, 255, 255) playSoundFrontEnd ( racethird, 43 ) setTimer ( viivat4, 1000, 1, racethird ) end function viivat4(racefinal) outputChatBox("NYT!", getRootElement(), 255, 255, 0) playSoundFrontEnd ( racefinal, 44 ) end not working Real motorbike backflip / frontflip script: https://forum.mtasa.com/viewtopic.php?f=108&t=98191
Anubhav Posted October 5, 2014 Posted October 5, 2014 Errors? See my some resources: Skin shop: https://community.multitheftauto.com/in ... ls&id=8008 Note script: https://community.multitheftauto.com/in ... ls&id=8009 Rules Panel: https://community.multitheftauto.com/in ... ls&id=8246 Random Money: https://community.multitheftauto.com/in ... ls&id=8718
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