08.01.2013, 06:14
(
Последний раз редактировалось mrtms; 08.01.2013 в 07:02.
)
Quote:
I need help with a code related to PlayAudioStreamForPlayer
Can anyone please show me the code of Playing streamed links in the server for everyone . If he/she is rcon logged in he can do /stream [URL] - It will play globally for everyone . Thank you I'l + Rep |
Код:
COMMAND:stream(playerid, params[]) { foreach(new i: Player) { PlayAudioStreamForPlayer(i, params); } return 1; } OR COMMAND:stream(playerid, params[]) { foreach(Player, i) { PlayAudioStreamForPlayer(i, params); } return 1; }