Thumbs up[RELEASE] Playing sound in Lua

Posts 1–4 of 4 · Page 1 of 1
[RELEASE] Playing sound in Lua (like headshot!)
Description:
Self-explanatory. Includes sample execution as well as a Headshot lua script.

Since the main download is marked with "viruses" I will include the source to the AutoIt program (PlaySound.au3):
Code:
; Check command-line
If $cmdLine[0] < 1 Then
   MsgBox(0, "PlaySound", "No file in command-line.")
   Exit 1
EndIf

SoundPlay($cmdLine[1], 1)
Transcend.Lua.Sound_mpgh.net.zip429 KB · 9 downloads 3/48 malicious
Transcend.Lua.Sound.Headshot_mpgh.net.zip19 KB · 12 downloads Clean
wait what? We can play custom sounds? LOL Does this make anything visible on screen? How do we set it up to play different sounds, Pretty neat.
it works, but im having problems with it switching to desktop when calling a wav

is anyone else having this problem or just me?
Posts 1–4 of 4 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us