FS: When Someone connect play music
#1

Hey guys I need a filterscript that who will enter my server all will hear some music by link

Thanks For Helping Me!
Reply
#2

PHP код:
PlayAudioStreamForPlayer 
at
PHP код:
OnPlayerConnect 
and
PHP код:
StopAudioStreamForPlayer 
to stop it whenever you want.
Reply
#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


Forum Jump:


Users browsing this thread: 1 Guest(s)