[Ajuda] Ajuda com PlayAudioStreamForPlayer
#5

Pra ser mais exato, vou criar um comando para que o player possa ligar a rбdio.


PHP код:
COMMAND:radio(playeridparams[])
{
      
PlayAudioStreamForPlayer(playerid"IP DA SUA RБDIO");
      
SendClientMessage(playerid, -1"Vocк estб ouvindo a rбdio NOME DA SUA RБDIO.");
      return 
1;

Caso queira fazer com que o player pare de ouvir, use essa funзгo:


PHP код:
StopAudioStreamForPlayer(playerid); 
Reply


Messages In This Thread
Ajuda com PlayAudioStreamForPlayer - by Kledson - 24.12.2017, 00:29
Re: Ajuda com PlayAudioStreamForPlayer - by victorara - 24.12.2017, 00:42
Re: Ajuda com PlayAudioStreamForPlayer - by Kledson - 24.12.2017, 00:46
Re: Ajuda com PlayAudioStreamForPlayer - by victorara - 24.12.2017, 01:45
Re: Ajuda com PlayAudioStreamForPlayer - by Gguiz - 24.12.2017, 01:49
Re: Ajuda com PlayAudioStreamForPlayer - by ViDaLoKa1 - 24.12.2017, 02:36
Re: Ajuda com PlayAudioStreamForPlayer - by victorara - 24.12.2017, 02:41
Re: Ajuda com PlayAudioStreamForPlayer - by ViDaLoKa1 - 24.12.2017, 02:58

Forum Jump:


Users browsing this thread: 5 Guest(s)