Mσнαмα∂ Hєℓιѕн Posted August 16, 2018 Share Posted August 16, 2018 hi guys im maked a playSound script when hit marker but not working! server side function hitMarker (thePlayer) setElementPosition(thePlayer, 288.89401, 169.30408, 1007.17188) setElementInterior(thePlayer, 3) triggerClientEvent("onMarkerHit", markerJoin, markerSound) end addEventHandler("onMarkerHit",markerJoin,hitMarker) client side function markerSound (thePlayer) local sound = playSound("sound.mp3") setSoundVolume(sound, 1) end addEventHandler("onMarkerHit", markerJoin, markerSound) what is this problem ? Link to comment
Keiichi1 Posted August 16, 2018 Share Posted August 16, 2018 There's no marker element in your code. Link to comment
Mσнαмα∂ Hєℓιѕн Posted August 17, 2018 Author Share Posted August 17, 2018 4 hours ago, Keiichi1 said: There's no marker element in your code. ok, thanks 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