03.04.2012, 13:01
I only hear the sound when player connect others wont.
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,0xFFFF00AA,"Use /stopmusic to stop the music");
TogglePlayerClock(playerid, 0); // Show the clock
SetPlayerColor(playerid,0xFFFFFFAA);
PlayAudioStreamForPlayer(playerid, "http://k004.kiwi6.com/hotlink/96jz2pcdwx/ddd.mp3");
return 1;
}
public OnPlayerConnect(playerid)
{
SendClientMessage(playerid,0xFFFF00AA,"Use /stopmusic to stop the music");
TogglePlayerClock(playerid, 0); // Show the clock
SetPlayerColor(playerid,0xFFFFFFAA);
PlayAudioStreamForPlayer(playerid, "http://k004.kiwi6.com/hotlink/96jz2pcdwx/ddd.mp3");
return 1;
}