Szerző Téma: Rádio Dialog  (Megtekintve 2372 alkalommal)

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
Rádio Dialog
« Dátum: 2011. December 17. - 11:52:12 »
0 Show voters
Üdv all készitettem 1 scriptet amin 3-4 db rádiot tudsz lejátszani
 
  • CLASS FM

  • Neo FM

  • Rádio1

  • Mixrádio

  • Leálitása Stop


 

#include <a_samp>
#include  <zcmd>
public OnFilterScriptInit()
{
print(\"------------------------\");
print(\"Scriptet Készitette ZzzzZ\");
print(\"------------------------\");
return 1;
}
#define ZeneDialog 200
COMMAND:(zene,playerid,params[])
{
ShowPlayerDialog(playerid,ZeneDialog,DIALOG_STYLE_INPUT,\"{ff000}Rádiok\",\"Class FM\\nNeofm\\nRádio1\\nMixrádio\\nStop\",\"Lejátsz\",\"\");
return 1;
}
public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
if(dialogid == ZeneDialog && response)
{
if(strcmp(inputtext,\"ClassFM\",true) == 0)
{
PlayAudioStreamForPlayer(playerid,\"http://91.82.85.41:9216/;stream\");
}
else if(strcmp(inputtext,\"NeoFM\",true))
{
PlayAudioStreamForPlayer(playerid,\"http://91.82.85.41:8080/;stream\");
}
else if(strcmp(inputtext,\"Rádio1\",true) == 0)
{
PlayAudioStreamForPlayer(playerid,\"http://195.70.35.172:8000/radio1.mp3\");
}
else if(strcmp(inputtext,\"Mixrádio\",true) == 0)
{
PlayAudioStreamForPlayer(playerid,\"http://savetofile.net:8450/;stream\");
}
else if(strcmp(inputtext,\"Stop\",true) == 0)
{
StopAudioStreamForPlayer(playerid);
}
}
    return 1;
}
« Utoljára szerkesztve: 2012. Április 16. - 15:49:42 írta ZzzzzZ »

Rádio Dialog
« Válasz #1 Dátum: 2011. December 17. - 12:14:07 »
0 Show voters
ShowPlayerDialog(playerid,ZeneDialog,DIALOG_STYLE_MSGBOX,\"{ff000}Rádiok\",\"Class FM\\nNeofm\\nRádio1\\nMixrádio\\nStop\",\"Lejátsz\",\"\");[/quote]

Rammstein

  • Vendég
Rádio Dialog
« Válasz #2 Dátum: 2011. December 17. - 12:26:14 »
0 Show voters
DIALOG_STYLE_LIST  be kéne nem?

xTomiX

  • Vendég
Rádio Dialog
« Válasz #3 Dátum: 2011. December 17. - 12:28:54 »
0 Show voters
Amugy meg http: utan muszály a // jel,nekem anélkül nemmegy.
 
Idézetet írta: Stuntzor シ date=1324121174\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"14338\" data-ipsquote-contentclass=\"forums_Topic
DIALOG_STYLE_LIST  be kéne nem?
 
Igen ugy kéne.
Sztem ebböl szedted ki az ip-jét kivéve a rádio1.
http://sampforum.hu/index.php?topic=18059.0
[gmod=Globális moderátori megjegyzés]Szerinted TÖBB IP-je van egy rádiónak? Hát nem![/gmod]
« Utoljára szerkesztve: 2011. December 17. - 13:21:54 írta ScreaM »

Nem elérhető jana4

  • 5929
  • Ex Staff
    • Profil megtekintése
Rádio Dialog
« Válasz #4 Dátum: 2011. December 17. - 13:22:15 »
0 Show voters
Tesztelted te ezt egyáltalán?!

xTomiX

  • Vendég
Rádio Dialog
« Válasz #5 Dátum: 2011. December 17. - 13:28:44 »
0 Show voters
Nemis irtam hogy több ip-je van az ip allat az url cimet ertetem: http:91.82.85.41:8080/

Nem elérhető instant

  • 2778
  • ZzzzzZ
    • Profil megtekintése
Rádio Dialog
« Válasz #6 Dátum: 2011. December 17. - 13:55:00 »
0 Show voters
el csesztem jáj :S am nem tom tesztelni mert nem enged házi szerot csinálni

Dupla hozzászólás automatikusan összefûzve. ( 2011. December 17. - 13:56:24 )

Idézetet írta: xTomiX date=1324121334\" data-ipsquote-contentapp=\"forums\" data-ipsquote-contenttype=\"forums\" data-ipsquote-contentid=\"14338\" data-ipsquote-contentclass=\"forums_Topic
Amugy meg http: utan muszály a // jel,nekem anélkül nemmegy.
 

DIALOG_STYLE_LIST  be kéne nem?
 
Igen ugy kéne.
Sztem ebböl szedted ki az ip-jét kivéve a rádio1.
http://sampforum.hu/index.php?topic=18059.0
Szerinted TÖBB IP-je van egy rádiónak? Hát nem!
 
[/quote]
bocs de azt a radio 1 honlapjárol szedtem le

xTomiX

  • Vendég
Rádio Dialog
« Válasz #7 Dátum: 2011. December 17. - 14:57:36 »
0 Show voters
Jólvan elhiszem ,az aláirásod  :D

 

SimplePortal 2.3.7 © 2008-2024, SimplePortal