Posts: 8
Threads: 2
Joined: Jan 2013
Reputation:
0
Can someone help me with making a script for audio streaming? And what plugin do I need?
I want the audio to start on OnPlayerConnect and to end on OnPlayerSpawn
Have been looking for solutions on web for hours, so don't judge me...
Posts: 8
Threads: 2
Joined: Jan 2013
Reputation:
0
I tryed this one, but I got errors about undefined symbols cmdtext and PlayAudioStreamForPlayer
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
Post your code, then! This is a help forum after all...
Posts: 7,801
Threads: 187
Joined: Feb 2010
Reputation:
0
PM me your full code then, I'll take a look.
Posts: 320
Threads: 16
Joined: Feb 2012
pawn Код:
public OnPlayerConnect(playerid) {
PlayAudioStreamForPlayer(playerid, "your url here");
return 1;
}
public OnPlayerSpawn(playerid) {
StopAudioStreamForPlayer(playerid);
return 1;
}
was that so hard lol?