-ffn-python Posted September 12, 2015 Posted September 12, 2015 Hey. What's The Problem I Can't Find It debug script error :"Bad argument" -- #Client Side addEvent("Muzik", true) addEventHandler("Muzik",root, function() stopSound(Muzik) end ) -- #Server Side triggerClientEvent(player,"Muzik",player) Are You Find Scripter ? Contact Me Web Skype:Click To Skype
JR10 Posted September 12, 2015 Posted September 12, 2015 Where is 'Muzik' defined? Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
-ffn-python Posted September 12, 2015 Author Posted September 12, 2015 addEventHandler("onClientResourceStart", resourceRoot, function() local Muzik = playSound(tostring( createMP3Music ), true) end ) Are You Find Scripter ? Contact Me Web Skype:Click To Skype
JR10 Posted September 12, 2015 Posted September 12, 2015 Muzik is local to the handling function, so it doesn't exist for the rest of the code. local Muzik addEventHandler("onClientResourceStart", resourceRoot, function() Muzik = playSound(tostring( createMP3Music ), true) end ) Business System viewtopic.php?f=108&t=35797 Notepad++ Syntax Highlighting & Auto Completion viewtopic.php?f=91&t=76726 SQLite Tutorial viewtopic.php?f=148&t=38203
-ffn-python Posted September 12, 2015 Author Posted September 12, 2015 work. Thank you. JR10 Are You Find Scripter ? Contact Me Web Skype:Click To Skype
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