11.08.2012, 16:02
pow, olha, eu axei um FS (o do Kuddy) do iHatsune que tem essa public: OnPlayerClickTextDraw(playerid, Text:clickedid).
ai pow, tentei usar essa public num GM que to criando so que da a seguinte warning:
FS do iHatsune:
Espero que alguйm consiga me ajudar...
ai pow, tentei usar essa public num GM que to criando so que da a seguinte warning:
Код:
warning 235: public function lacks forward declaration (symbol "OnPlayerClickTextDraw")
pawn Код:
// iHatsune bY Kuddy
#include <a_samp>
#include <ZCMD>
#include <foreach>
new Text:Textdraw0; // iHatsune
new Text:Textdraw1; // Hatsune Miku - After the end
new Text:Textdraw2; // Luka - Night Fiver
new Text:Textdraw3; // megurine Dancer in the dark
new Text:Textdraw4; // Electric angel
new Text:Textdraw5; // innocence
new Text:Textdraw6; //Hatsune Miku - Kagerous Days"
new Text:Textdraw7; // Licolin is justice
new Text:Textdraw8; // Moon
new Text:Textdraw9; // .
new Text:Textdraw10; // Packaged
new Text:Textdraw11; // Rolling Girl
new Text:Textdraw12; // Miku - Romeo to Cinderella
new Text:Textdraw13; // Stargazer
new Text:Textdraw14; //Miku - The Magic Lyric!
new Text:Textdraw15; // Tell Your World
new Text:Textdraw16; //Hatsune Miku - World is Mine
new Text:Textdraw17; // Anger 3d
new Text:Textdraw18; // Disappearence
new Text:Textdraw19; // Kagamine Rin - Kokoro
new Text:Textdraw20; // Meltdown
new Text:Textdraw21; // Magnet
new Text:Textdraw22;
// ...
CMD:mp3(playerid) // Comando, altere-o caso vocк jб tenha um /mp3
{
SelectTextDraw(playerid, 0x8000FFAA);
TextDrawShowForPlayer(playerid, Textdraw9);
TextDrawShowForPlayer(playerid, Textdraw0);
TextDrawShowForPlayer(playerid, Textdraw1);
TextDrawShowForPlayer(playerid, Textdraw2);
TextDrawShowForPlayer(playerid, Textdraw3);
TextDrawShowForPlayer(playerid, Textdraw4);
TextDrawShowForPlayer(playerid, Textdraw5);
TextDrawShowForPlayer(playerid, Textdraw6);
TextDrawShowForPlayer(playerid, Textdraw7);
TextDrawShowForPlayer(playerid, Textdraw8);
TextDrawShowForPlayer(playerid, Textdraw10);
TextDrawShowForPlayer(playerid, Textdraw11);
TextDrawShowForPlayer(playerid, Textdraw12);
TextDrawShowForPlayer(playerid, Textdraw13);
TextDrawShowForPlayer(playerid, Textdraw14);
TextDrawShowForPlayer(playerid, Textdraw15);
TextDrawShowForPlayer(playerid, Textdraw16);
TextDrawShowForPlayer(playerid, Textdraw17);
TextDrawShowForPlayer(playerid, Textdraw18);
TextDrawShowForPlayer(playerid, Textdraw19);
TextDrawShowForPlayer(playerid, Textdraw20);
TextDrawShowForPlayer(playerid, Textdraw21);
TextDrawShowForPlayer(playerid, Textdraw22);
return 1;
}
public OnFilterScriptInit()
{
print("Textdraw file generated by");
print("iHatsune bY Kuddy Carregado com succexo!");
// Create the textdraws:
Textdraw9 = TextDrawCreate(72.000000, 74.000000, "_");
TextDrawBackgroundColor(Textdraw9, 255);
TextDrawFont(Textdraw9, 1);
TextDrawLetterSize(Textdraw9, 0.569998, 18.900003);
TextDrawColor(Textdraw9, 0);
TextDrawSetOutline(Textdraw9, 0);
TextDrawSetProportional(Textdraw9, 1);
TextDrawSetShadow(Textdraw9, 1);
TextDrawUseBox(Textdraw9, 1);
TextDrawBoxColor(Textdraw9, 838865980);
TextDrawTextSize(Textdraw9, 577.000000, 10.000000);
Textdraw0 = TextDrawCreate(274.000000, 79.000000, "iHatsune");
TextDrawBackgroundColor(Textdraw0, -936208716);
TextDrawFont(Textdraw0, 3);
TextDrawLetterSize(Textdraw0, 0.629998, 2.500000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 1);
TextDrawSetProportional(Textdraw0, 1);
Textdraw1 = TextDrawCreate(84.000000, 116.000000, "Hatsune Miku - After the end");
TextDrawBackgroundColor(Textdraw1, -936208716);
TextDrawFont(Textdraw1, 2);
TextDrawLetterSize(Textdraw1, 0.169999, 1.100000);
TextDrawColor(Textdraw1, -1);
TextDrawSetOutline(Textdraw1, 1);
TextDrawSetProportional(Textdraw1, 1);
TextDrawUseBox(Textdraw1, 1);
TextDrawBoxColor(Textdraw1, -922750876);
TextDrawTextSize(Textdraw1, 202.000000, 10.000000);
Textdraw2 = TextDrawCreate(210.000000, 198.000000, "Luka - Night Fiver");
TextDrawBackgroundColor(Textdraw2, -936208716);
TextDrawFont(Textdraw2, 2);
TextDrawLetterSize(Textdraw2, 0.169999, 1.100000);
TextDrawColor(Textdraw2, -1);
TextDrawSetOutline(Textdraw2, 1);
TextDrawSetProportional(Textdraw2, 1);
TextDrawUseBox(Textdraw2, 1);
TextDrawBoxColor(Textdraw2, -922750876);
TextDrawTextSize(Textdraw2, 316.000000, 10.000000);
Textdraw3 = TextDrawCreate(325.000000, 198.000000, "Luka - Dancer in the Dark");
TextDrawBackgroundColor(Textdraw3, -936208716);
TextDrawFont(Textdraw3, 2);
TextDrawLetterSize(Textdraw3, 0.169999, 1.100000);
TextDrawColor(Textdraw3, -1);
TextDrawSetOutline(Textdraw3, 1);
TextDrawSetProportional(Textdraw3, 1);
TextDrawUseBox(Textdraw3, 1);
TextDrawBoxColor(Textdraw3, -922750876);
TextDrawTextSize(Textdraw3, 443.000000, 10.000000);
Textdraw4 = TextDrawCreate(450.000000, 198.000000, "Hatsune Miku - Electric Angel");
TextDrawBackgroundColor(Textdraw4, -936208716);
TextDrawFont(Textdraw4, 2);
TextDrawLetterSize(Textdraw4, 0.169999, 1.100000);
TextDrawColor(Textdraw4, -1);
TextDrawSetOutline(Textdraw4, 1);
TextDrawSetProportional(Textdraw4, 1);
TextDrawUseBox(Textdraw4, 1);
TextDrawBoxColor(Textdraw4, -922750876);
TextDrawTextSize(Textdraw4, 570.000000, 10.000000);
Textdraw5 = TextDrawCreate(84.000000, 136.000000, "Hatsune Miku - Innocence");
TextDrawBackgroundColor(Textdraw5, -936208716);
TextDrawFont(Textdraw5, 2);
TextDrawLetterSize(Textdraw5, 0.169999, 1.100000);
TextDrawColor(Textdraw5, -1);
TextDrawSetOutline(Textdraw5, 1);
TextDrawSetProportional(Textdraw5, 1);
TextDrawUseBox(Textdraw5, 1);
TextDrawBoxColor(Textdraw5, -922750876);
TextDrawTextSize(Textdraw5, 202.000000, 10.000000);
Textdraw6 = TextDrawCreate(84.000000, 178.000000, "Hatsune Miku - Kagerous Days");
TextDrawBackgroundColor(Textdraw6, -936208716);
TextDrawFont(Textdraw6, 2);
TextDrawLetterSize(Textdraw6, 0.169999, 1.100000);
TextDrawColor(Textdraw6, -1);
TextDrawSetOutline(Textdraw6, 1);
TextDrawSetProportional(Textdraw6, 1);
TextDrawUseBox(Textdraw6, 1);
TextDrawBoxColor(Textdraw6, -922750876);
TextDrawTextSize(Textdraw6, 202.000000, 10.000000);
Textdraw7 = TextDrawCreate(83.000000, 198.000000, "Miku - Lolicon is justice");
TextDrawBackgroundColor(Textdraw7, -936208716);
TextDrawFont(Textdraw7, 2);
TextDrawLetterSize(Textdraw7, 0.169999, 1.100000);
TextDrawColor(Textdraw7, -1);
TextDrawSetOutline(Textdraw7, 1);
TextDrawSetProportional(Textdraw7, 1);
TextDrawUseBox(Textdraw7, 1);
TextDrawBoxColor(Textdraw7, -922750876);
TextDrawTextSize(Textdraw7, 202.000000, 10.000000);
Textdraw8 = TextDrawCreate(84.000000, 157.000000, "Hatsune Miku - Moon");
TextDrawBackgroundColor(Textdraw8, -936208716);
TextDrawFont(Textdraw8, 2);
TextDrawLetterSize(Textdraw8, 0.169999, 1.100000);
TextDrawColor(Textdraw8, -1);
TextDrawSetOutline(Textdraw8, 1);
TextDrawSetProportional(Textdraw8, 1);
TextDrawUseBox(Textdraw8, 1);
TextDrawBoxColor(Textdraw8, -922750876);
TextDrawTextSize(Textdraw8, 202.000000, 10.000000);
Textdraw10 = TextDrawCreate(210.000000, 116.000000, "Hatsune Miku - Packaged");
TextDrawBackgroundColor(Textdraw10, -936208716);
TextDrawFont(Textdraw10, 2);
TextDrawLetterSize(Textdraw10, 0.169999, 1.100000);
TextDrawColor(Textdraw10, -1);
TextDrawSetOutline(Textdraw10, 1);
TextDrawSetProportional(Textdraw10, 1);
TextDrawUseBox(Textdraw10, 1);
TextDrawBoxColor(Textdraw10, -922750876);
TextDrawTextSize(Textdraw10, 316.000000, 10.000000);
Textdraw11 = TextDrawCreate(210.000000, 136.000000, "Hatsune Miku - Rolling Girl");
TextDrawBackgroundColor(Textdraw11, -936208716);
TextDrawFont(Textdraw11, 2);
TextDrawLetterSize(Textdraw11, 0.169999, 1.100000);
TextDrawColor(Textdraw11, -1);
TextDrawSetOutline(Textdraw11, 1);
TextDrawSetProportional(Textdraw11, 1);
TextDrawUseBox(Textdraw11, 1);
TextDrawBoxColor(Textdraw11, -922750876);
TextDrawTextSize(Textdraw11, 316.000000, 10.000000);
Textdraw12 = TextDrawCreate(210.000000, 157.000000, "Miku - Romeo to Cinderella");
TextDrawBackgroundColor(Textdraw12, -936208716);
TextDrawFont(Textdraw12, 2);
TextDrawLetterSize(Textdraw12, 0.169999, 1.100000);
TextDrawColor(Textdraw12, -1);
TextDrawSetOutline(Textdraw12, 1);
TextDrawSetProportional(Textdraw12, 1);
TextDrawUseBox(Textdraw12, 1);
TextDrawBoxColor(Textdraw12, -922750876);
TextDrawTextSize(Textdraw12, 316.000000, 10.000000);
Textdraw13 = TextDrawCreate(210.000000, 178.000000, "Hatsune Miku - Stargazer");
TextDrawBackgroundColor(Textdraw13, -936208716);
TextDrawFont(Textdraw13, 2);
TextDrawLetterSize(Textdraw13, 0.169999, 1.100000);
TextDrawColor(Textdraw13, -1);
TextDrawSetOutline(Textdraw13, 1);
TextDrawSetProportional(Textdraw13, 1);
TextDrawUseBox(Textdraw13, 1);
TextDrawBoxColor(Textdraw13, -922750876);
TextDrawTextSize(Textdraw13, 316.000000, 10.000000);
Textdraw14 = TextDrawCreate(325.000000, 116.000000, "Miku - The Magic Lyric!");
TextDrawBackgroundColor(Textdraw14, -936208716);
TextDrawFont(Textdraw14, 2);
TextDrawLetterSize(Textdraw14, 0.169999, 1.100000);
TextDrawColor(Textdraw14, -1);
TextDrawSetOutline(Textdraw14, 1);
TextDrawSetProportional(Textdraw14, 1);
TextDrawUseBox(Textdraw14, 1);
TextDrawBoxColor(Textdraw14, -922750876);
TextDrawTextSize(Textdraw14, 443.000000, 10.000000);
Textdraw15 = TextDrawCreate(325.000000, 136.000000, "Miku - Tell Your World");
TextDrawBackgroundColor(Textdraw15, -936208716);
TextDrawFont(Textdraw15, 2);
TextDrawLetterSize(Textdraw15, 0.169999, 1.100000);
TextDrawColor(Textdraw15, -1);
TextDrawSetOutline(Textdraw15, 1);
TextDrawSetProportional(Textdraw15, 1);
TextDrawUseBox(Textdraw15, 1);
TextDrawBoxColor(Textdraw15, -922750876);
TextDrawTextSize(Textdraw15, 443.000000, 10.000000);
Textdraw16 = TextDrawCreate(325.000000, 157.000000, "Hatsune Miku - World is Mine");
TextDrawBackgroundColor(Textdraw16, -936208716);
TextDrawFont(Textdraw16, 2);
TextDrawLetterSize(Textdraw16, 0.169999, 1.100000);
TextDrawColor(Textdraw16, -1);
TextDrawSetOutline(Textdraw16, 1);
TextDrawSetProportional(Textdraw16, 1);
TextDrawUseBox(Textdraw16, 1);
TextDrawBoxColor(Textdraw16, -922750876);
TextDrawTextSize(Textdraw16, 443.000000, 10.000000);
Textdraw17 = TextDrawCreate(450.000000, 116.000000, "Hatsune Miku - Anger");
TextDrawBackgroundColor(Textdraw17, -936208716);
TextDrawFont(Textdraw17, 2);
TextDrawLetterSize(Textdraw17, 0.169999, 1.100000);
TextDrawColor(Textdraw17, -1);
TextDrawSetOutline(Textdraw17, 1);
TextDrawSetProportional(Textdraw17, 1);
TextDrawUseBox(Textdraw17, 1);
TextDrawBoxColor(Textdraw17, -922750876);
TextDrawTextSize(Textdraw17, 570.000000, 10.000000);
Textdraw18 = TextDrawCreate(325.000000, 178.000000, "Hatsune Miku - Disappearence");
TextDrawBackgroundColor(Textdraw18, -936208716);
TextDrawFont(Textdraw18, 2);
TextDrawLetterSize(Textdraw18, 0.169999, 1.100000);
TextDrawColor(Textdraw18, -1);
TextDrawSetOutline(Textdraw18, 1);
TextDrawSetProportional(Textdraw18, 1);
TextDrawUseBox(Textdraw18, 1);
TextDrawBoxColor(Textdraw18, -922750876);
TextDrawTextSize(Textdraw18, 443.000000, 10.000000);
// Estб completamente indentado (:Textdraw19 = TextDrawCreate(450.000000, 136.000000, "Kagamine Rin - Kokoro");
TextDrawBackgroundColor(Textdraw19, -936208716);
TextDrawFont(Textdraw19, 2);
TextDrawLetterSize(Textdraw19, 0.169999, 1.100000);
TextDrawColor(Textdraw19, -1);
TextDrawSetOutline(Textdraw19, 1);
TextDrawSetProportional(Textdraw19, 1);
TextDrawUseBox(Textdraw19, 1);
TextDrawBoxColor(Textdraw19, -922750876);
TextDrawTextSize(Textdraw19, 570.000000, 3.000000);
Textdraw20 = TextDrawCreate(450.000000, 157.000000, "Kagamine Rin - Meltdown");
TextDrawBackgroundColor(Textdraw20, -936208716);
TextDrawFont(Textdraw20, 2);
TextDrawLetterSize(Textdraw20, 0.169999, 1.100000);
TextDrawColor(Textdraw20, -1);
TextDrawSetOutline(Textdraw20, 1);
TextDrawSetProportional(Textdraw20, 1);
TextDrawUseBox(Textdraw20, 1);
TextDrawBoxColor(Textdraw20, -922750876);
TextDrawTextSize(Textdraw20, 570.000000, 10.000000);
Textdraw21 = TextDrawCreate(450.000000, 178.000000, "Megurine Luka - Magnet");
TextDrawBackgroundColor(Textdraw21, -936208716);
TextDrawFont(Textdraw21, 2);
TextDrawLetterSize(Textdraw21, 0.169999, 1.100000);
TextDrawColor(Textdraw21, -1);
TextDrawSetOutline(Textdraw21, 1);
TextDrawSetProportional(Textdraw21, 1);
TextDrawUseBox(Textdraw21, 1);
TextDrawBoxColor(Textdraw21, -922750876);
TextDrawTextSize(Textdraw21, 570.000000, 10.000000);
Textdraw22 = TextDrawCreate(308.000000, 229.000000, "Parar");
TextDrawBackgroundColor(Textdraw22, -936208716);
TextDrawFont(Textdraw22, 2);
TextDrawLetterSize(Textdraw22, 0.209998, 1.399999);
TextDrawColor(Textdraw22, -1);
TextDrawSetOutline(Textdraw22, 1);
TextDrawSetProportional(Textdraw22, 1);
TextDrawUseBox(Textdraw22, 1);
TextDrawBoxColor(Textdraw22, -922750876);
TextDrawTextSize(Textdraw22, 337.000000, 12.000000);
//TextDrawSetSelectable(Textdraw0, 1);
TextDrawSetSelectable(Textdraw1, 1);
TextDrawSetSelectable(Textdraw2, 1);
TextDrawSetSelectable(Textdraw3, 1);
TextDrawSetSelectable(Textdraw4, 1);
TextDrawSetSelectable(Textdraw5, 1);
TextDrawSetSelectable(Textdraw6, 1);
TextDrawSetSelectable(Textdraw7, 1);
TextDrawSetSelectable(Textdraw8, 1);
//TextDrawSetSelectable(Textdraw9, 1);
TextDrawSetSelectable(Textdraw10, 1);
TextDrawSetSelectable(Textdraw11, 1);
TextDrawSetSelectable(Textdraw12, 1);
TextDrawSetSelectable(Textdraw13, 1);
TextDrawSetSelectable(Textdraw14, 1);
TextDrawSetSelectable(Textdraw15, 1);
TextDrawSetSelectable(Textdraw16, 1);
TextDrawSetSelectable(Textdraw17, 1);
TextDrawSetSelectable(Textdraw18, 1);
TextDrawSetSelectable(Textdraw19, 1);
TextDrawSetSelectable(Textdraw20, 1);
TextDrawSetSelectable(Textdraw21, 1);
TextDrawSetSelectable(Textdraw22, 1);
return 1;
}
public OnFilterScriptExit()
{
foreach(Player, pid) EsconderTexts(pid);
return 1;
}
public OnPlayerClickTextDraw(playerid, Text:clickedid)
{
if(clickedid == Textdraw0)
{
SendClientMessage(playerid, 0xFFFFFFAA, "BUG BUG BUG");
EsconderTexts(playerid);
return 1;
}
if(clickedid == Textdraw1)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - After The End");
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/q70GHD_E9s/Hatsune%20Miku%20-%20After%20The%20End.mp3?dl=1");
EsconderTexts(playerid);
return 1;
}
if(clickedid == Textdraw2)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Megurine Luka - Night Fever");
PlayAudioStreamForPlayer(playerid, "https://dl.dropbox.com/s/gqawnu6isryhdce/Megurine%20Luka%20-%20Night%20Fever.mp3?dl=1");
EsconderTexts(playerid);
return 1;
}
if(clickedid == Textdraw3)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Megurine Luka - Dancer in the Dark");
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/s/vgpekzt7qt4ntbm/Megurine%20Luka%20-%20Dancer%20in%20the%20dark.mp3?dl=1");
EsconderTexts(playerid);
return 1;
}
if(clickedid == Textdraw4)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - Electric Angel");
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/eKIBG7wYmk/Hatsune%20Miku%20-%20Electric%20Angel%20%28Rock%20Ver%29.mp3?dl=1");
EsconderTexts(playerid);
return 1;
}
if(clickedid == Textdraw5)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - Innocence");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/1hwQB9SDm2/Hatsune%20Miku%20-%20Innocence.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw6)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - Kagerous Days");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/DFV5RlzjVY/Hatsune%20Miku%20-%20Kagerous%20Days.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw7)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - Lolicon is Justice");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/1kam8ausyd/Hatsune%20Miku%20-%20Lolicon%20is%20justice.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw8)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - Moon");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/IHtf5kIwRQ/Hatsune%20Miku%20-%20Moon.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw9)
{
SendClientMessage(playerid, 0xFFFFFFAA, "BUG BUG BUG");
EsconderTexts(playerid);
return 1;
}
if(clickedid == Textdraw10)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - Packaged");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/CiFIglt1cl/Hatsune%20Miku%20-%20Packaged.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw11)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - Rolling Girl");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/8tm5IQzw6E/Hatsune%20Miku%20-%20Rolling%20Girl.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw12)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - Romeo to Cinderella");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/cxqJx1dRW2/Hatsune%20Miku%20-%20Romeo%20to%20Cinderella.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw13)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - Stargazer");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/ZKTZHZcTE4/Hatsune%20Miku%20-%20Stargazer.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw14)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - Teach Me! The Lyric of Magic");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/NtkOziI628/Hatsune%20Miku%20-%20Teach%20me%21%21%20The%20Lyric%20of%20Magic.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw15)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - Tell Your World");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/cykTZ1ISuf/Hatsune%20Miku%20-%20Tell%20Your%20World.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw16)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - World is Mine");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/O8u7AAWVzC/Hatsune%20Miku%20-%20World%20is%20Mine.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw17)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - Anger 3D");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/2tJedIP-uc/Hatsune%20Miku%20-%20Anger%203D.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw18)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Hatsune Miku - Disappearence of Hatsune Miku");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/ROda2fGnVB/Hatsune%20Miku%20-%20Disappearence%20of%20Miku.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw19)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Kagamine Rin - Kokoro");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/k5Bs-wJcIP/Kagamine%20Rin%20-%20Kokoro.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw20)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Kagamine Rin - Meltdown");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/fvbUU7pDzR/Kagamine%20Rin%20-%20Meltdown.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw21)
{
SendClientMessage(playerid, 0xFFFFFFAA, "Tocando agora: Megurine Luka - Magnet?dl=1");
EsconderTexts(playerid);
PlayAudioStreamForPlayer(playerid, "https://www.dropbox.com/sh/illn3ywbj7j8kx7/tknaPr8sF0/Megurine%20Luka%20-%20Magnet.mp3?dl=1");
return 1;
}
if(clickedid == Textdraw22)
{
SendClientMessage(playerid, 0xFFFFFFAA, "A mъsica foi parada com sucesso.");
EsconderTexts(playerid);
StopAudioStreamForPlayer(playerid);
return 1;
}
return 1;
}
#pragma tabsize 0
public OnPlayerConnect(playerid)
{ SendClientMessage(playerid, 0xFF0080AA, "Este servidor utiliza o sistema MP3 iHatsune, criado por Kuddy"); // Nгo remova os crйditos.
return 1;
}
#pragma tabsize 4
stock EsconderTexts(playerid)
{
TextDrawHideForPlayer(playerid, Textdraw9);
TextDrawHideForPlayer(playerid, Textdraw0);
TextDrawHideForPlayer(playerid, Textdraw1);
TextDrawHideForPlayer(playerid, Textdraw2);
TextDrawHideForPlayer(playerid, Textdraw3);
TextDrawHideForPlayer(playerid, Textdraw4);
TextDrawHideForPlayer(playerid, Textdraw5);
TextDrawHideForPlayer(playerid, Textdraw6);
TextDrawHideForPlayer(playerid, Textdraw7);
TextDrawHideForPlayer(playerid, Textdraw8);
TextDrawHideForPlayer(playerid, Textdraw10);
TextDrawHideForPlayer(playerid, Textdraw11);
TextDrawHideForPlayer(playerid, Textdraw12);
TextDrawHideForPlayer(playerid, Textdraw13);
TextDrawHideForPlayer(playerid, Textdraw14);
TextDrawHideForPlayer(playerid, Textdraw15);
TextDrawHideForPlayer(playerid, Textdraw16);
TextDrawHideForPlayer(playerid, Textdraw17);
TextDrawHideForPlayer(playerid, Textdraw18);
TextDrawHideForPlayer(playerid, Textdraw19);
TextDrawHideForPlayer(playerid, Textdraw20);
TextDrawHideForPlayer(playerid, Textdraw21);
TextDrawHideForPlayer(playerid, Textdraw22);
CancelSelectTextDraw(playerid);
return 1;
}