SA-MP Forums Archive
Sound - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Sound (/showthread.php?tid=514596)



Sound - Lajko1 - 22.05.2014

Hey I'm interested in this Audio stream... where can I find those sounds? I'm looking for heartbeat sound..

REP+ for helpers


Re: Sound - rappy93 - 22.05.2014

Look for sounds here : https://sampwiki.blast.hk/wiki/SoundID
Use these functions to play/stop etc. : https://sampwiki.blast.hk/wiki/PlayerPlaySound


Re: Sound - AndySedeyn - 22.05.2014

You can put your own custom link in an audio stream using this function:

pawn Код:
PlayAudioStreamForPlayer(playerid, url[], Float:posX = 0.0, Float:posY = 0.0, Float:posZ = 0.0, Float:distance = 50.0, usepos = 0)
https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer

Or use one of the sound ID's that SA-MP provided. (GTA sounds)
pawn Код:
PlayerPlaySound(playerid, soundid, Float:x, Float:y, Float:z)
https://sampwiki.blast.hk/wiki/SoundID