Oui prend exemple sur se qui ont changé le pack de texture (comme la map de Gary ou d'autre sur le wiki AC


Sound Object
Functions
playSoundUI(string soundName)
Plays a normal 2d sound
playSoundUI(string soundName, int volume, int pitch)
Plays a 2d sound with a set volume and pitch change
playSound3D(string soundName, int x, int y, int z)
Plays a sound at the specified 3d position
playSound3D(string soundName, int x, int y, int z, int volume, int pitch)
Plays a sound at the specified 3d position, volume, and pitch change.
playMusic(string musicName)
Plays the specified music
playMusic(string musicName, int fadeOut, int fadeIn)
Plays the specified music, with fading out the current playing music over x ms and fades in the new music over y ms.
stopMusic()
Stops the current music
sound.playSoundUI("sound.mon sons")
Dans se script il me dise qu'il manque une paranthése après l'argument (kézako?)sound.playSound3D("sound.mon sons", hitEntity x, hitEntity y, hitEntity z)
sound.playSound3D("sound.mon sons", int x, int y, int z)
sound.playSound3D("sound.mon sons", hitEntity x, hitEntity y, hitEntity z)
sound.playSound3D("sound.mon sons", x, y, z)