04.01.2015, 01:30
1) Check if the player is an administrator and if the level meets the requirements.
2) You sure want the administrator to use a custom link, I assume. You then have to check if the parameters he filled in are correct. E.g.: Is it a link for a song? If not, create a list of links and make them choose between the links in the list (Dialogs).
3) Stream the custom link. (As far as I know, there's no function to play an audio stream for everyone. What you can do is loop through the connected players and then play the audio stream for them individually using: https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer)
Edit: And the poster above me spoon fed you the code. I hope you learn from it.
2) You sure want the administrator to use a custom link, I assume. You then have to check if the parameters he filled in are correct. E.g.: Is it a link for a song? If not, create a list of links and make them choose between the links in the list (Dialogs).
3) Stream the custom link. (As far as I know, there's no function to play an audio stream for everyone. What you can do is loop through the connected players and then play the audio stream for them individually using: https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer)
Edit: And the poster above me spoon fed you the code. I hope you learn from it.