FS: When Someone connect play music
#3

Quote:
Originally Posted by RxErT
Посмотреть сообщение
PHP код:
public OnPlayerConnect(playerid)//We will make it play a music when a player joins..

    
PlayAudioStreamForPlayer(playerid"the link here");//put a music link with .mp3 format, to start playing for player who joins.
    
return 1;
}
public 
OnPlayerSpawn(playerid)
{
     
StopAudioStreamForPlayer(playerid);//When player is spawned the music will be stoped.
     
return 1;

Can you just stop saying the same exact thing that has already been said ?
Reply


Messages In This Thread
FS: When Someone connect play music - by AdmiNi - 26.02.2018, 15:07
Re: FS: When Someone connect play music - by PepsiCola23 - 26.02.2018, 15:10
Re: FS: When Someone connect play music - by PepsiCola23 - 26.02.2018, 18:46

Forum Jump:


Users browsing this thread: 1 Guest(s)