Albinioli Posted April 13, 2017 Share Posted April 13, 2017 (edited) Well i got this from the wiki function wasted (killer, weapon, bodypart) local sound = playSound("sounds/wasted.mp3") setSoundVolume(sound, 0.5) end addEventHandler("onClientPlayerWasted", localPlayer, wasted) But i want it to make it to play a music while im entering the afk zone or something like that is there anyone that can help me ? Cause im realy newbie in scripting Edited April 13, 2017 by Albinioli Link to comment
Albinioli Posted April 13, 2017 Author Share Posted April 13, 2017 Im gonna place it after that Link to comment
AE. Posted April 13, 2017 Share Posted April 13, 2017 try to understand from thishttps://wiki.multitheftauto.com/wiki/OnColShapeHit Link to comment
Syntrax# Posted April 13, 2017 Share Posted April 13, 2017 Use a col rectangle to give an area for the afk zone, then use onColShapeHit to trigger the music. when leaving it you can remove it 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