OnPlayerConnecthez:
new rand = random(30);
if(rand == 0)
{
PlayAudioStreamForPlayer(playerid, \"http://teoldalad.hu/zene1.mp3\");
}
if(rand == 1)
{
PlayAudioStreamForPlayer(playerid, \"http://teoldalad.hu/zene2.mp3\");
}
if(rand == 2)
{
PlayAudioStreamForPlayer(playerid, \"http://teoldalad.hu/zene3.mp3\");
}
OnPlayerSpawn alá:
StopAudioStreamForPlayer(playerid);