Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- ...: FILTERSCRIPT BY BRUXO :...
- Script muito fácil, o meu primeiro.
- Para ter LINKS DIRETOS aqui [ http://kiwi6.com/ ]
- SEM LINKS DIRETOS NÃO VAI FUNCIONAR!!!!
- Tem de ter .mp3 no final do link!
- ...: CHANGELOG :...
- 01/04/2013 - Released
- */
- #define COLOR_RED 0xAA3333AA
- #define COLOR_WHITE 0xFFFFFFAA
- #include <a_samp>
- #include <zcmd>
- #define FILTERSCRIPT
- public OnFilterScriptInit()
- {
- print("\n--------------------------------------");
- print(" MusicPlayer v1.0 by Bruxo LOADED ");
- print("--------------------------------------\n");
- return 1;
- }
- public OnFilterScriptExit()
- {
- print("\n--------------------------------------");
- print(" MusicPlayer v1.0 by Bruxo UNLOADED ");
- print("--------------------------------------\n");
- return 1;
- }
- public OnPlayerDisconnect(playerid)
- {
- StopAudioStreamForPlayer(playerid); // Se o player estiver a ouvir música sair, o player parar, para não dar Lag ao servidor.
- return 1;
- }
- public OnPlayerSpawn(playerid)
- {
- SendClientMessage(playerid,COLOR_WHITE,"Escreve /sons para veres as músicas disponíveis no servidor e /desligarmusica para a desligares"); // Quando o player spawnar aprece uma mensagem
- return 1;
- }
- CMD:sons(playerid, params[])
- {
- SendClientMessage(playerid,COLOR_RED,"[----------------------MUSICAS----------------------]");
- SendClientMessage(playerid,COLOR_WHITE,"PSY - GANGNAM STYLE (/music1)");
- SendClientMessage(playerid,COLOR_RED,"NOME DO CANTOR - NOME DA MÚSICA (/music2)");
- SendClientMessage(playerid,COLOR_RED,"NOME DO CANTOR - NOME DA MÚSICA (/music3)");
- SendClientMessage(playerid,COLOR_RED,"NOME DO CANTOR - NOME DA MÚSICA (/music4)");
- SendClientMessage(playerid,COLOR_RED,"NOME DO CANTOR - NOME DA MÚSICA (/music5)");
- SendClientMessage(playerid,COLOR_RED,"NOME DO CANTOR - NOME DA MÚSICA (/music6)");
- SendClientMessage(playerid,COLOR_RED,"NOME DO CANTOR - NOME DA MÚSICA (/music7)");
- return 1;
- }
- CMD:desligarmusica(playerid, params[])
- {
- SendClientMessage(playerid,COLOR_RED,"Desligaste a música");
- StopAudioStreamForPlayer(playerid);
- return 1;
- }
- CMD:music1(playerid, params[])
- {
- SendClientMessage(playerid,COLOR_RED,"Estás a ouvir a música - Psy - Gangam Style");
- PlayAudioStreamForPlayer(playerid, "http://k007.kiwi6.com/hotlink/cc48n245pd/music1.mp3");
- return 1;
- }
- CMD:music2(playerid, params[])
- {
- SendClientMessage(playerid,COLOR_RED,"Estás a ouvir a música - ");
- PlayAudioStreamForPlayer(playerid, "LINK DIRETO AQUI");
- return 1;
- }
- CMD:music3(playerid, params[])
- {
- SendClientMessage(playerid,COLOR_RED,"Estás a ouvir a música - ");
- PlayAudioStreamForPlayer(playerid, "LINK DIRETO AQUI");
- return 1;
- }
- CMD:music4(playerid, params[])
- {
- SendClientMessage(playerid,COLOR_RED,"Estás a ouvir a música - ");
- PlayAudioStreamForPlayer(playerid, "LINK DIRETO AQUI");
- return 1;
- }
- CMD:music5(playerid, params[])
- {
- SendClientMessage(playerid,COLOR_RED,"Estás a ouvir a música - ");
- PlayAudioStreamForPlayer(playerid, "LINK DIRETO AQUI");
- return 1;
- }
- CMD:music6(playerid, params[])
- {
- SendClientMessage(playerid,COLOR_RED,"Estás a ouvir a música - ");
- PlayAudioStreamForPlayer(playerid, "LINK DIRETO AQUI");
- return 1;
- }
- CMD:music7(playerid, params[])
- {
- SendClientMessage(playerid,COLOR_RED,"Estás a ouvir a música - ");
- PlayAudioStreamForPlayer(playerid, "LINK DIRETO AQUI");
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment