Solved sound name from config ERROR!

Discussion in 'Plugin Development' started by PeterXonwiiXx, Nov 21, 2015.

Thread Status:
Not open for further replies.
  1. im making double jump and i wwant that when a player double jumps he also can hear the sound that is saved in the config,,what do i need to use to get the string fromm the config for sound. ......??


    Thanks in Advance <3
     
  2. Offline

    Xerox262

    Sound.valueOf(Sound name as uppercase String); However if a name is entered that is not a valid sound you will get an error.


    @Assist Ninja'd .-.
     
  3. Offline

    mcdorli

    nevermind got ninja'd
     
  4. foudn what the problem was,forgot to get the string directly from the config,,SOLVED thankks guys
     
Thread Status:
Not open for further replies.

Share This Page