DevilToTracks Posted December 21, 2012 Author Share Posted December 21, 2012 Hi ! Scuse me for my poor english but I need help,I want to add sound to an item and I use this code,I dont know how to use it for when you attack with item 3,you play the sound "Shotgun" in mp3.Please help me !If GetPlayerEquipment(index, 3) > 0 Then SendPlayerSound index, GetPlayerX(index), GetPlayerY(index), SoundEntity.useItem, GetPlayerEquipment(index, 3) Link to comment Share on other sites More sharing options...
DevilToTracks Posted December 22, 2012 Author Share Posted December 22, 2012 Up ! Please help me ! Link to comment Share on other sites More sharing options...
Wortel Angels Posted December 22, 2012 Share Posted December 22, 2012 Just set the sound as weapon sound? Link to comment Share on other sites More sharing options...
DevilToTracks Posted December 23, 2012 Author Share Posted December 23, 2012 What ? I dont understand^^ I have the Eclipse Advanced Version.. Link to comment Share on other sites More sharing options...
highonpaint Posted December 23, 2012 Share Posted December 23, 2012 When you create a weapon or item there should be a option to set a sound associated with that sound. Link to comment Share on other sites More sharing options...
DevilToTracks Posted December 24, 2012 Author Share Posted December 24, 2012 I know but when I do that and add a sound this just play the sound when the player equip it or take it,not when use it like attack Link to comment Share on other sites More sharing options...
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