FreezingFire Admin Team
Joined: 23 Jun 2002 Posts: 3508
|
Posted: Wed Jul 23, 2003 5:53 pm Post subject: Internal PC Speaker Beep |
|
|
Using this code you can sound a beep through the user's internal PC
Speaker:
Code: | LOADLIB kernel32.dll
%A = @lib(kernel32,Beep,INT:,INT:2000,INT:100)
FREELIB kernel32.dll |
And here's your classic rising sound:
Code: | LOADLIB kernel32.dll
%x = 0
repeat
%A = @lib(kernel32,Beep,INT:,INT:%x,INT:100)
%x = @sum(%x,100)
until @equal(%x,2000)
FREELIB kernel32.dll |
_________________ FreezingFire
VDSWORLD.com
Site Admin Team |
|