SA-MP Forums Archive
PlayAudioStreamForAll - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: PlayAudioStreamForAll (/showthread.php?tid=323808)



PlayAudioStreamForAll - SnG.Scot_MisCuDI - 07.03.2012

Why isnt this a function?
pawn Код:
(461) : error 017: undefined symbol "PlayAudioStreamForAll"



Re: PlayAudioStreamForAll - 2KY - 07.03.2012

pawn Код:
for( new u; u < MAX_PLAYERS; u++ )
{
    PlayAudioStreamForPlayer( u, "http://2ky.info/Music/BTF.mp3" );
}



Re: PlayAudioStreamForAll - SnG.Scot_MisCuDI - 07.03.2012

Thanks, i wonder why this isnt a function.


Re: PlayAudioStreamForAll - 2KY - 07.03.2012

Quote:
Originally Posted by SnG.Scot_MisCuDI
Посмотреть сообщение
Thanks, i wonder why this isnt a function.
Because a native function would legitimately be the same thing; a loop through "PlayAudioStreamForPlayer"; it'd be useless.


Re: PlayAudioStreamForAll - dowster - 07.03.2012

Quote:
Originally Posted by 2KY
Посмотреть сообщение
Because a native function would legitimately be the same thing; a loop through "PlayAudioStreamForPlayer"; it'd be useless.
Would be quicker having it loop in the C++ of the server rather than the PAWN end of it.