- 0
Problema Radio!
-
Similar Content
-
- 1 reply
- 74 views
-
- 2 answers
- 896 views
-
Problema turf
By Soryn.,
- 3 answers
- 454 views
-
- 0 replies
- 191 views
-
- 2 replies
- 358 views
-
-
Recently Browsing 0 members
- No registered users viewing this page.
Question
Pinki950
Am o problema in loc sa cante radioul in zona respectiva x, y, z imi face spam de "N" ori cu radioul!
Ex: PlayAudioStream http....
PlayAudioStream http....
PlayAudioStream http....
PlayAudioStream http....
[pawn]public OnPlayerUpdate( playerid )
{
new
bool: bPlay = false;
for( new i = 0; i < MAX_PLAYERS; i++ )
{
if( IsPlayerInRangeOfPoint( i, 7.0, -2293.3921, -1632.9829, 485.1299) && bPlay == false )
{
bPlay = true;
PlayAudioStreamForPlayer( i, "http://www.radiowish.ro/live.m3u" );
}
else if( bPlay == true )
{
StopAudioStreamForPlayer( i );
bPlay = false;
}
}
return 1;
}[/pawn]
Link to comment
Share on other sites
7 answers to this question
Recommended Posts