SA-MP Forums Archive
[FilterScript] Christmas MP3 Songs | Simple - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] Christmas MP3 Songs | Simple (/showthread.php?tid=398177)

Pages: 1 2


Christmas MP3 Songs | Simple - Patrick - 08.12.2012

Hello guys this is my first release at SA-MPi hope you give a positive and good comments

PHP код:
Q.how many songs are in the Filterscript ?
A.8 Christmas songs
Q
.is it simple and friendly user?
AYes 
Music Added Shake Up by train requested by CyNiC

Picture/Video: [ame]http://www.youtube.com/watch?v=A0WvQRcz9_Y&feature=*******_gdata[/ame]

Download:
pawn Код:
/*
        ***Credits***
    SAMP Community for <a_samp>
    PDS2012 for scripting &
    you for using it

        ***Social Network***
    FORUM: http://forum.sa-mp.com/member.php?u=178953
    SKYPE: patricksubang11

        ***Attention***
    Please dont remove credits
*/


#include <a_samp>

#define FILTERSCRIPT
#if defined FILTERSCRIPT

//---COLORS---//
#define COLOR_LIGHTBLUE 0x33CCFFAA
//---COLORS---//

#pragma tabsize 0 // Removes Loose Indentation Warning //

#define DIALOG_PChristmas 1 // if you already have defined 1 dialog on your gamemode change this to avoid bug //

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print("PChristmas Songs By: PDS2012 Loaded... ");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    return 1;
}

#else

main()
{
    print("\n----------------------------------");
    print("PChristmas Songs By: PDS2012 UnLoaded...");
    print("----------------------------------\n");
}

#endif
public OnPlayerCommandText(playerid, cmdtext[])
{
    new string[100], pname[24];
    GetPlayerName(playerid, pname, 24);

    if(strcmp("/psongs", cmdtext, true, 10) == 0)
    {
        ShowPlayerDialog(playerid, DIALOG_PChristmas, DIALOG_STYLE_LIST, "Christmas Songs", "Let It Snow by Michael Buble\nWhite Christmas by Michael Buble\nI'll Be Home For Christmas by Micheal Buble\nAll I Want For Christmas Is You by Mariah Carey\nLast Christmas by Wham!\nCarol of the Bells by Pentatonix\nSanta Baby by Ertha Kitt\nJingle Bell Rock by Bobby Helms\nShake Up by Train\nStop Music", "Play", "Cancel");
        return 1;
    }

    if(strcmp("/pcredits", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "===Credits===");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "PDS2012 - Scripting");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "SAMP Community - <a_samp>");
    format(string, sizeof(string), "And... %s(%d) for using", pname, playerid);
    SendClientMessage(playerid, COLOR_LIGHTBLUE, string);
    return 1;
    }
    if(strcmp("/pcmds", cmdtext, true, 10) == 0)
    {
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "===COMMANDS===");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "/psongs - show song dialog");
    SendClientMessage(playerid, COLOR_LIGHTBLUE, "/pcredits - show credits");
    return 1;
    }
    return 0;
}


public OnDialogResponse(playerid, dialogid, response, listitem, inputtext[])
{
    if(dialogid == DIALOG_PChristmas)
    {
    switch(listitem)
        {
        case 0: //Let Is Snow By Micheal Buble
        {
        PlayAudioStreamForPlayer(playerid, "http://k002.kiwi6.com/hotlink/18hu1qx0k5/christmas_songs_-_dean_martin_-_let_it_snow_let_it_snow_let_it_snow_.mp3");
        GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ Playing: Let It Snow ~<~",5000,3);
        }
        case 1: //White Christmas By Micheal Buble
        {
        PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/2385egvl1h/michael_bubl_white_christmas-_www_flvto_com_.mp3");
        GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ Playing: White Christmas ~<~",5000,3);
        }
        case 2: //I'll Be Home For Christmas By Micheal Buble
        {
        PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/t2qn86k7yq/michael_buble_-_i_ll_be_home_for_christmas-_www_flvto_com_.mp3");
        GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ Playing: I'll Be Home For Christmas ~<~",5000,3);
        }
        case 3: //All I Want For Christmas Is You by Mariah Carey
        {
        PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/ty63p01c5h/mariah_carey_-_all_i_want_for_christmas_is_you-_www_flvto_com_.mp3");
        GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ Playing: All I Want For Christmas Is You ~<~",5000,3);
        }
        case 4: //Last Christmas by Wham!
        {
        PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/o701ykebor/wham_-_last_christmas-_www_flvto_com_.mp3");
        GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ Playing: Last Christmas ~<~",5000,3);
        }
        case 5: //Carol of the Bells by Pentatonix
        {
        PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/c5qht5d6s1/official_video_carol_of_the_bells_-_pentatonix-_www_flvto_com_.mp3");
        GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ Carol of the Bells ~<~",5000,3);
        }
        case 6: //Santa Baby by Ertha Kitt
        {
        PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/1kfwfbris3/eartha_kitt_-_santa_baby_-_lyrics_paroles_-_www_flvto_com_.mp3");
        GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ Santa Baby ~<~",5000,3);
        }
        case 7: //Jingle Bell Rock by Bobby Helms
        {
        PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/z9qz4edwm3/bobby_helms_-_jingle_bells_rock_-_lyrics_paroles_-_www_flvto_com_.mp3");
        GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ Jingle Bell Rock ~<~",5000,3);
        }
        case 8: // Shake Up by Bobby Helms
        {
        PlayAudioStreamForPlayer(playerid, "http://k003.kiwi6.com/hotlink/6lpv7s4kex/train_-_shake_up_christmas-_www_flvto_com_.mp3");
        GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ Shake Up ~<~",5000,3);
        }
        case 9: //Stop The Music
        {
        StopAudioStreamForPlayer(playerid); // Stops the music
        GameTextForPlayer(playerid,"~r~~n~~n~~n~~n~~n~~n~~n~~n~~n~~>~ STOPPED ~<~",5000,3);
        }
       }
      }
      return 1;

}
/*
================================================================================
-------------------------------FILTERSCRIPT END!--------------------------------
================================================================================
*/
Bug: Haven't found any bugs yet pls report if you found a bug

Suggestion
if you have any suggestions christmas songs you want to add comment or pm me


Thank You!



Re: Christmas MP3 Songs | Simple - Anak - 08.12.2012

nice ....


Re: Christmas MP3 Songs | Simple - Patrick - 08.12.2012

Quote:
Originally Posted by Anak
Посмотреть сообщение
nice ....
thanks


Re: Christmas MP3 Songs | Simple - LifeplaysFoCo - 16.12.2012

Nice release bro, is it possible to script it so the whole server can hear it?


Re: Christmas MP3 Songs | Simple - Patrick - 16.12.2012

Quote:
Originally Posted by LifeplaysFoCo
Посмотреть сообщение
Nice release bro, is it possible to script it so the whole server can hear it?
Thanks. nope only a player who type /psongs and will only play on player


Re: Christmas MP3 Songs | Simple - rapister - 16.12.2012

Nice FS


Re: Christmas MP3 Songs | Simple - DiReCt hIt - 16.12.2012

Nice Work !


Re: Christmas MP3 Songs | Simple - Patrick - 16.12.2012

Quote:
Originally Posted by DiReCt hIt
Посмотреть сообщение
Nice Work !
Thanks


Re: Christmas MP3 Songs | Simple - Sasino97 - 17.12.2012

The first one is cutted to 11 seconds, you should update that link.
Nice work anyway !


Re: Christmas MP3 Songs | Simple - Edvin - 17.12.2012

I just want to say: thank your for the music links


Re: Christmas MP3 Songs | Simple - Plovix - 17.12.2012

Nice and simple fs.Keep it on


Re: Christmas MP3 Songs | Simple - pds2012 - 17.12.2012

Quote:
Originally Posted by [GF]Sasino97
View Post
The first one is cutted to 11 seconds, you should update that link.
Nice work anyway !
What Music? Thanks

Quote:
Originally Posted by Edvin
View Post
I just want to say: thank your for the music links
Thanks

Quote:
Originally Posted by Plovix
View Post
Nice and simple fs.Keep it on
Thanks


Re: Christmas MP3 Songs | Simple - Luxorz - 17.12.2012

Video dont work?


Re: Christmas MP3 Songs | Simple - pds2012 - 17.12.2012

Quote:
Originally Posted by Luxorz
View Post
Video dont work?
yes i dont know why. but its a easy system. why not try download it and try it hope you like it


Re: Christmas MP3 Songs | Simple - Lordzy - 17.12.2012

Nice.


Re: Christmas MP3 Songs | Simple - pds2012 - 17.12.2012

Quote:
Originally Posted by Lordz™
View Post
Nice.
Thanks


Re: Christmas MP3 Songs | Simple - zohartrejx - 26.12.2012

Hey! Very nice script !


Re: Christmas MP3 Songs | Simple - pds2012 - 26.12.2012

Quote:
Originally Posted by zohartrejx
View Post
Hey! Very nice script !
Thanks. Christmas is over


Re: Christmas MP3 Songs | Simple - Mafioso97 - 26.12.2012

Late for the script
But still good work 10/10


Re: Christmas MP3 Songs | Simple - pds2012 - 26.12.2012

Quote:
Originally Posted by Mafioso97
View Post
Late for the script
But still good work 10/10
its i not late script i released this 08/12/2012..

Thanks Btw