SA-MP Forums Archive
[FilterScript] Mini Player -- DJ around the server -- Toggleable - 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] Mini Player -- DJ around the server -- Toggleable (/showthread.php?tid=559785)



Mini Player -- DJ around the server -- Toggleable - ZombieNest - 25.01.2015

Introduction


Hey guys - As always, I wanted to share my new filterscript with you guys, It is based on textdraws AND dialog... and some cmds (/st(Select Textdraw) - /mp(Mini Player) )


Screenshots(No fun without 'em)


Album Link

Functions


This filterscript only uses:Okay.. I will tell what do the commands actually does now...
If you type /st - It will toggle a cursor, If you use it and select P, S, Y it will do what pressing that button does..
Ex:
I pressed P, Now it will start playing the current song which was being streaming, If a Rcon admin changes link, It will automatically update by the server - If I pressed S, It will stop, No automatic updating, No listening! - If I pressed Y(Must be Rcon Admin - You can add variable) It will showup a dialog - Select Link to Stream, Once you select the dialog will come again if you mistakely typed wrong, or else if you type correct, Click Exit
If you are not rcon admin, It will tell that you are not rcon admin...

Includes/Libraries


This is the includes which is necessary- The most important things to run this else it wont!
You can find them all over ******! Its easy.
Installation


First of all my dear fellows, Download the miniplayer.pwn from >> (HERE)
To add the script/function to your server, Just add the filterscripts(a_samp, foreach, zcmd) in your pawno\include\
directory then open the pawn.exe and select miniplayer go and try to compile it, If success, Close pawn then go to your samp main directory - After that go and open server.cfg, In filterscripts line add miniplayer
It should look like this:
Код:
echo Executing Server Config...
lanmode 1
rcon_password 123
maxplayers 50
port 7777
hostname [0.3z] Mini Player Server Grand Larceny
gamemode0 grandlarc 1
filterscripts  miniplayer
plugins 
announce 0
query 1
weburl www.sa-mp.com
onfoot_rate 40
incar_rate 40
weapon_rate 40
stream_distance 300.0
stream_rate 1000
maxnpc 10
logtimeformat [%H:%M:%S]
Thanks to:

Zeex for ZCMD
****** for foreach
SAMP Team for a_samp

---
Sorry guys no pasteeebinnnn
no mirrors


Re: Mini Player -- DJ around the server -- Toggleable - |MadDog| - 25.01.2015

You should more work on desing and adding song list. But ok. Check this pictures from one Balkan scripter:
http://imgur.com/a/vwgVG


Re: Mini Player -- DJ around the server -- Toggleable - Pottus - 25.01.2015

Use playertextdraws this script is a serious waste.


Re: Mini Player -- DJ around the server -- Toggleable - ZombieNest - 25.01.2015

What how?
LOL That balkan scripter pro in textdraws than me..