14.03.2013, 00:54
pawn Код:
public OnPlayerConnect(playerid)
{
PlayAudioStreamForPlayer(playerid,"URL.mp3"); // Valid formats are mp3 and ogg/vorbis.
return 1;
}
/*public OnPlayerSpawn(playerid)
{
StopAudioStreamForPlayer(playerid,"URL.mp3"); // Destroy the songs when he spawn
return 1;
}*/