Audio stream
#1

hi guys.

i need audio stream.

if player is in the xyz , the [url] song play for that player..

how?
Reply
#2

you can create a checker for that coordinates or just put it in OnPlayerUpdate.
PHP код:
if(IsPlayerInRangeOfPoint(playerid,range,x,y,z))
{
    
PlayAudioStreamForPlayer(playerid,"music link (mp3 or wav)",x,y,z,range,1);

Reply
#3

PHP код:
PlayAudioStreamForPlayer(playerid"URL HERE.mp3"XYZ50.01); 
https://sampwiki.blast.hk/wiki/PlayAudioStreamForPlayer
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)