Introduction:
MP3 PLAYER FOR CLIENT is the plugin, allowing to lose the client for own tracks
, by means of it the opportunity to lose for the tracks not leaving from game is given to the client. MP3 the player supports unceasing playback - that very conveniently and is the main advantage of this plug-in above analogues, and also there is a function of viewing playlist. Fill up the playlist the client can by means of the console, or having loaded a configuration file containing commands of addition of tracks in playlist.(читать статью на русском)
Installation:
1. Download archive "MP3 player for client (full packet).zip"
2. Unpack contents of archive in any place convenient for you.
3. Transfer contents of a folder " MP3 player for client " in moddir.
4. Add a line "MP3_player_for_client.amxx" in yours plugins.ini
cvar:
Code:
"amx_mp3_player" - 1 (by default) - the plug-in is active, other values switch off it.
Use:
1. Creation of a directory:
To use MP3 a player you should create a directory with name MP3 in a directory a fashion(For example for a fashion counter-strike the address of a directory will be approximately such: C:\Program Files\Steam\steamapps\yourEmail\counter-strike\cstrike\MP3)
2. Filling of your directory by music:
Simply move(or copy) files in the directory earlier created by you, but remember:
1) the Player works only with MP3 files;
2) the Maximal length of a track should be no more than 9 minutes of 59 seconds (9:59), the minimal length of a track not less than 30 seconds;
3) the Maximal length of a name of a file (without expansion) no more than 64 symbols.
4) the Maximum quantity of tracks 100.
3. Creations playlist:
Without playlist playback is not possible! To create playlist open a directory a fashion(For example for a fashion counter-strike the address of a directory will be approximately such: C:\Program Files\Steam\steamapps\yourEmail\counter-strike\cstrike\),Create the text document, rename it in MP3 and necessarily change its expansion on cfg. As a result at you the file "MP3.cfg" should turn out, open it by means of the standard program "notepad", and add in it the following information:
"mp3_addtrack" "the name of a track" "duration"
For example:
"mp3_addtrack" "Rammstein-Links 2 3 4" "36"
"mp3_addtrack" "123" "0:42"
Pay attention:
1) Expansion of a file to specify it is not necessary!
2) it is possible to specify Time only so in such format: "m:ss" (where m-quantity of minutes, ss-quantity of seconds)
3) Necessarily quote each parameter: " "
4) the Name of a track should not be empty.
Necessarily observe these rules, mistakes in a chat and in the console differently will spread.
4. Use of the menu.
1. To cause the menu it is necessary to register a command in the console: mp3_menu, also it is possible to cause the menu by means of a chat (say, say_team): it is necessary to print /mp3.
2. Keys:
1) Play - to start playback(the console command mp3_play)
2) Next - to pass to playback of a following track(the console command mp3_next)
3) Prev - to pass to playback of the previous track (the console command mp_prev)
4) Stop - to stop playback(a console command mp3_stop)
7) (Re)Load - to reload/load (if you have just created) yours palylist. (a console command mp3_reload)
9) Help - a call of the information (the console command mp3_help)
0) Close - closes the menu.
CHANGELOG:
Quote:
Changes in the version 'S 1.1':
*it is changed: the Maximum quantity of tracks is changed with 99 on 100.
*is corrected: mistakes appearing at excess of a maximum quantity of tracks.
*it is changed: now the leaf with tracks is deduced not in game MOTD, and in the console on 10.
*is corrected: contents of Help-files.
*are changed: contents of a language file (Brute_MP3.txt)
*the code of a plugin is a little optimized.
|
The current version S 1.1
I wait for your reports on work of a plugin...