SnoopCat Posted September 29, 2010 Posted September 29, 2010 its correct to add this to make a sound plays when some 1 joins server??? function Join (thePlayer) local sound = playSound("welcome.wav",false) setSoundVolume(sound, 1.0) end addEventHandler ( "onClientPlayerJoin", getLocalPlayer(), Join )
Castillo Posted September 29, 2010 Posted September 29, 2010 its correct to add this to make a sound plays when some 1 joins server??? function Join (thePlayer) local sound = playSound("welcome.wav",false) setSoundVolume(sound, 1.0) end addEventHandler ( "onClientPlayerJoin", getLocalPlayer(), Join ) whats the point of the argument "thePlayer" there?
SnoopCat Posted September 29, 2010 Author Posted September 29, 2010 idk i must delete it???? i need ti check if onClientPlayerJoin is correct to use for a sound when u join
dzek (varez) Posted September 29, 2010 Posted September 29, 2010 uhm, if you just need to make join sound that only player that join hear - just use this resource: https://community.multitheftauto.com/index.php?p= ... ils&id=976 also don't create more than one topic about same problem: viewtopic.php?f=91&t=29267 I'm locking old one, don't do it again.
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