25.01.2015, 10:22
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:
- OnDialogResponse
- OnPlayerConnect
- OnPlayerDisconnect
- OnPlayerSelectPlayerTextdraw
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.
- a_samp
- foreach
- zcmd
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