14.11.2016, 18:33
Lуgico. Vocк editou o cуdigo!
PHP код:
new Bool:radio;
command(radio, playerid, params[])
{
for(new id = 0; id < MAX_PLAYERS; id++)
{
if(!radio)
{
PlayAudioStreamForPlayer(id, "http://107.161.123.146:26342");
print("Rбdio ligada!");
radio = true;
}
else
{
StopAudioStreamForPlayer(id);
radio = false;
}
}
return 1;
}