[FilterScript] Simple Music Database (SQLite)
#1


Introduction
With this little filterscript you can create big music database, easily add, remove or update songs in game, navigate through pages in playlist and search for specific songs, using every criteria at once. I don't know what else to write, but I had to learn SQLite to make this for you.

(updated 2012-10-12)
http://pastebin.mozilla.org/1865387
http://www.solidfiles.com/d/090a17ea06/

(updated 2012-10-14)
http://www.solidfiles.com/d/440ddfbdb7/

You'll also need SQLite include:

https://sampforum.blast.hk/showthread.php?tid=303682
Commands
Код:
/music <params>
- opens music dialog if no params are given

        Params:

        stop
        - stops audio stream for player

        search <keywords>
        - finds songs for a given keywords
        - opens search dialog if no params are given

        request <song>
        - writes player's request to "requests.txt" file
        - opens request dialog if no params are given 

        Rcon commands:

        add
        - adds new song in database
        - opens step by step dialog

        delete <songid>
        - removes song from database
        - opens search dialog if no params are given

        update <songid>
        - updates song in database
        - opens search dialog if no params are given
Screenshots




Note: removed most of the songs, since links were dead.
Credits
Код:
    Made by Youarex

    Slice for SQLite
    SA-MP Team
Reply


Messages In This Thread
Simple Music Database (SQLite) - by Youarex - 07.10.2012, 14:34
Re: Dynamic MP3 Database (SQLite) - by Mr.Faqahat - 07.10.2012, 14:36
Re: Dynamic MP3 Database (SQLite) - by Ballu Miaa - 07.10.2012, 14:39
Re: Dynamic MP3 Database (SQLite) - by Youarex - 07.10.2012, 14:41
Re: Dynamic MP3 Database (SQLite) - by Simplyfrag - 07.10.2012, 14:43
Re: Dynamic MP3 Database (SQLite) - by Mr.Mercer - 07.10.2012, 15:17
Re: Dynamic MP3 Database (SQLite) - by Edvin - 07.10.2012, 15:26
Re: Dynamic MP3 Database (SQLite) - by alanhutch - 07.10.2012, 15:31
Re : Dynamic MP3 Database (SQLite) - by Witnec - 08.10.2012, 19:27
Re: Re : Dynamic MP3 Database (SQLite) - by Youarex - 08.10.2012, 19:55

Forum Jump:


Users browsing this thread: 1 Guest(s)