Szerző Téma: Zene problem már megint..  (Megtekintve 870 alkalommal)

Nem elérhető #Nexus#

  • 1374
    • Profil megtekintése
Zene problem már megint..
« Dátum: 2012. március 29. - 18:42:27 »
0 Show voters
if(strcmp(cmd, \"/hangfal\", true) == 0)
{
   
    if(IsPlayerConnected(playerid))
    {
       PlayAudioStreamForPlayer(playerid, \"http://195.70.35.172:8000/radio1.mp3\" , 661.8430,-440.6740,16.3895, 20.0);
        format(stringx, sizeof(stringx), \"Hangfal\");
        SendClientMessage(playerid, COLOR_LIGHTBLUE, stringx);
        return 1;
    }
}
És mindenki hallja hogyha beírom nem csak ezen a koordinátán mi a gond ?
« Utoljára szerkesztve: 2012. március 29. - 18:45:59 írta #Nexus# »

Nem elérhető scripter01

  • 1035
  • Ex Moderálisan Globális
    • Profil megtekintése
Zene problem már megint..
« Válasz #1 Dátum: 2012. március 29. - 18:52:07 »
0 Show voters
Szerintem ez de nem biztos ilyen még nem nagyon láttam!
 
PlayAudioStreamForPlayeAll

Nem elérhető #Nexus#

  • 1374
    • Profil megtekintése
Zene problem már megint..
« Válasz #2 Dátum: 2012. március 29. - 19:10:53 »
0 Show voters
Idézetet írta: scripter01 date=1333039927\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"19272\" data-ipsquote-contentclass=\"forums_Topic
Szerintem ez de nem biztos ilyen még nem nagyon láttam!
 
PlayAudioStreamForPlayeAll

 

NEM JÓ!

Zene problem már megint..
« Válasz #3 Dátum: 2012. március 29. - 19:27:47 »
0 Show voters
20As után irj 1 1est és jó.

dexi

  • Vendég
Zene problem már megint..
« Válasz #4 Dátum: 2012. március 29. - 19:50:18 »
0 Show voters
stock PlayAudioStreamInRange( url[], Float:X, Float:Y, Float:Z, Float:Range=5.0 )
{
for( new playerid = 0; playerid < MAX_PLAYERS; playerid++ )
{
if( IsPlayerConnected(playerid) && IsPlayerInRangeOfPoint(playerid, Range, X, Y, Z) )
{
    PlayAudioStreamForPlayer( playerid, url );
}
}
}

 

if( strcmp(cmd, \"/hangfal\", true) == 0 )
{
if(IsPlayerConnected(playerid))
{
PlayAudioStreamInRange( \"http://195.70.35.172:8000/radio1.mp3\", 661.8430, -440.6740, 16.3895, 20.0 );
SendClientMessage(playerid, COLOR_LIGHTBLUE, \"Hangfal\");
return 1;
}
}

Nem elérhető #Nexus#

  • 1374
    • Profil megtekintése
Zene problem már megint..
« Válasz #5 Dátum: 2012. március 30. - 15:37:44 »
0 Show voters
Idézetet írta: Fl0rian date=1333043418\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"19272\" data-ipsquote-contentclass=\"forums_Topic

stock PlayAudioStreamInRange( url[], Float:X, Float:Y, Float:Z, Float:Range=5.0 )
{
for( new playerid = 0; playerid < MAX_PLAYERS; playerid++ )
{
if( IsPlayerConnected(playerid) && IsPlayerInRangeOfPoint(playerid, Range, X, Y, Z) )
{
    PlayAudioStreamForPlayer( playerid, url );
}
}
}

 

if( strcmp(cmd, \"/hangfal\", true) == 0 )
{
if(IsPlayerConnected(playerid))
{
PlayAudioStreamInRange( \"http://195.70.35.172:8000/radio1.mp3\", 661.8430, -440.6740, 16.3895, 20.0 );
SendClientMessage(playerid, COLOR_LIGHTBLUE, \"Hangfal\");
return 1;
}
}

 

Most meg nem játssza le

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal