SnoopCat Posted September 29, 2010 Share 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 ) Link to comment
Castillo Posted September 29, 2010 Share 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? Link to comment
SnoopCat Posted September 29, 2010 Author Share 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 Link to comment
dzek (varez) Posted September 29, 2010 Share 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. 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