SA-MP Forums Archive
sound help quick? - 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 help quick? (/showthread.php?tid=331428)



sound help quick? - oscar7610 - 04.04.2012

I want all players to hear sound when they connect on the server. all players.


Respuesta: sound help quick? - Chris1337 - 04.04.2012

use

pawn Код:
PlayerPlaySound(playerid, soundid, Float:x, Float:y, Float:z);

Sound IDS
[url]http://wiki.sa-mp.com/wiki/SoundID[/url]



Re: sound help quick? - oscar7610 - 04.04.2012

under what? thanks btw


Re: sound help quick? - jaheem - 04.04.2012

under
pawn Код:
public OnPlayerConnect(playerid)



Re: sound help quick? - oscar7610 - 04.04.2012

I mean I need my own music man. still says undefined symbol.


Re: sound help quick? - TzAkS. - 04.04.2012

Undefined symbol..what simbol?
Do you have the latest includes?


Re: sound help quick? - jaheem - 04.04.2012

pawn Код:
here yo go
public OnPlayerConnect(playerid)
{
        PlayAudioStreamForPlayer(playerid, "http://stream.laut.fm/bluesclub"); // put your own music here
    return 1;
}



Re: sound help quick? - oscar7610 - 04.04.2012

thanks all worked.


Re: sound help quick? - oscar7610 - 04.04.2012

rep both