[Help]: Radio system
#4

Just a variable with playerid array.

Код:
new Streaming[MAX_PLAYERS];

//When you use PlayAudioStreamForPlayer
Streaming[playerid/i/whatever you use in the scripting] = 1;
//When you use StopAudioStreamForPlayer
Streamer[playerid] = 0;
//When you want to detect if it's streaming something.
if(Streamer[playerid] == 1)
It seems basic for me, but I dunno if it's gonna work. You'll have to do that in all the PlayAudio and StopAudio used.
Reply


Messages In This Thread
[Help]: Radio system - by sniperwars - 17.01.2014, 17:59
Re: [Help]: Radio system - by Scenario - 17.01.2014, 18:06
Re: [Help]: Radio system - by sniperwars - 17.01.2014, 18:10
Respuesta: [Help]: Radio system - by Stront - 17.01.2014, 18:14
Re: [Help]: Radio system - by Ace155 - 17.01.2014, 18:19
Re: [Help]: Radio system - by sniperwars - 17.01.2014, 18:26
Re: [Help]: Radio system - by sniperwars - 17.01.2014, 21:46
Respuesta: [Help]: Radio system - by Stront - 17.01.2014, 22:07
Re: [Help]: Radio system - by Mattakil - 18.01.2014, 02:41

Forum Jump:


Users browsing this thread: 1 Guest(s)