Raised This Month: $12 Target: $400
 3% 

Half Life Media Player III (3.1.1 07-24-2009)


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   Counter-Strike        Category:   Fun Stuff       
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-23-2009 , 10:40   Half Life Media Player III (3.1.1 07-24-2009)
Reply With Quote #1

Half Life Media Player III




.: Description :.


This plugin allow players to listen music/radio from the web.



.: Say Commands :.

  • /hlmp
  • /radio
  • /music
    Open Hlmp menu
  • /stop
    Stop the music



.: Cvars :.

  • hlmp_show_all < 0 - 1 >
    Display media name to all players when a player select a media
  • hlmp_no_motd < 0 - 1 >
    Block Motd when (re)connecting player is already listening a media



.: Config File :.

  • addons/amxmodx/configs/mediafiles.ini (example as attachment ~130 radios )

    Code:
    [GroupName]
    "Media 1" "Url1"
    "Media 2" "Url2"
    
    [Groupname2]
    "Media1" "Url1"
    etc..
  • addons/amxmodx/configs/hlmp_motd.ini
    Put there other plugins commands that open a motd so we know that player is not listening media anymore.



.: Modules/Requirements :.

  • Nvault.
  • Amxx 1.8.1.3717 or above




.: Information :.


The plugin doesn't work on following mods :
  • TFC



.: Credits :.


Previous plugin version : http://forums.alliedmods.net/showthread.php?t=17708
joaquimandrade for good advises.



.: ChangeLog :.


Code:
v3.1.1 (07-24-2009)
- fixed cases where client_authorized could be fired after client_putinserver

v3.1.0 (07-22-2009)
- Cvar to block motd on [re]connecting players
- Cvar to display media name
- Save players setting with nvault because setinfo is a bad method.

v3.0.2 (06-19-2009)
- destroy all arrays and tries at map end, in case amxx wouldn't do it.

v3.0.1
- when in a group menu, added an option to go back to group list.
- when in a group menu, added the group name at top of menu.

v3.0.0 First Release
Attached Files
File Type: ini mediafiles.ini (6.8 KB, 15274 views)
File Type: txt hlmp.txt (6.8 KB, 11767 views)
File Type: sma Get Plugin or Get Source (hlmp.sma - 22991 views - 16.5 KB)
File Type: ini hlmp_motd.ini (31 Bytes, 12979 views)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 01-08-2010 at 01:04.
ConnorMcLeod is offline
joaquimandrade
Veteran Member
Join Date: Dec 2008
Location: Portugal
Old 05-23-2009 , 10:44   Re: Half Life Media Player 3
Reply With Quote #2

Very nice!
__________________
joaquimandrade is offline
xPaw
Retired AMX Mod X Moderator
Join Date: Jul 2008
Old 05-23-2009 , 10:46   Re: Half Life Media Player 3
Reply With Quote #3

Holy fuck, gj :p
__________________
xPaw is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 05-23-2009 , 11:40   Re: Half Life Media Player 3
Reply With Quote #4

Quote:
[nl]
HLMP_CONFIG = Configuratie
HLMP_STOPMUSIC = Stop de Musiek
HLMP_CLOSEWINDOW = Je mag het venster nu dichtdoen.
HLMP_GROUPS = Categorieen
HLMP_RADIOS = Radios
HLMP_REPEAT = Speel AutoMatisch opnieuw
HLMP_VOLUME = Volumu
HLMP_ABOUT = Over...
HLMP_CONFIGMENUTIP = Note: Veranderingen zullen veranderd zijn wanneer het volgende liedje start.
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
alan_el_more
Veteran Member
Join Date: Jul 2008
Location: amxmodx-es.com
Old 05-23-2009 , 11:45   Re: Half Life Media Player 3
Reply With Quote #5

Code:
[es]
HLMP_CONFIG = Configuracion
HLMP_STOPMUSIC = Detener la Musica
HLMP_CLOSEWINDOW = Ahora puedes cerrar esta ventana.
HLMP_GROUPS = Categorias
HLMP_RADIOS = Radios
HLMP_REPEAT = Auto Rebobinado
HLMP_VOLUME = Volumen
HLMP_ABOUT = Sobre...
HLMP_CONFIGMENUTIP = Nota: Los cambios se aplicaran cuando la siguiente cancion comienze.
__________________
alan_el_more is offline
fang
Senior Member
Join Date: Nov 2007
Location: New Jersey
Old 05-23-2009 , 11:54   Re: Half Life Media Player 3
Reply With Quote #6

:O Conner you are a beast at coding. I'll probably be putting this on all my servers. (Well maybe except one because they need to hear the CT talking in that one >_>)
fang is offline
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 05-23-2009 , 11:55   Re: Half Life Media Player 3
Reply With Quote #7

Quote:
Originally Posted by fang View Post
(Well maybe except one because they need to hear the CT talking in that one >_>)
I agree

This is usefull for all servers accept jailbreak
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
mplayerexe
Senior Member
Join Date: Dec 2008
Old 05-23-2009 , 12:16   Re: Half Life Media Player 3
Reply With Quote #8

thx i`m alerdy using it

romanian translation

Code:
[ro]
HLMP_CONFIG = Configurare
HLMP_STOPMUSIC = Opreste muzica
HLMP_CLOSEWINDOW = Acum poti sa inchizi fereastra.
HLMP_GROUPS = Categorii
HLMP_RADIOS = Radiouri
HLMP_REPEAT = Deruleaza
HLMP_VOLUME = Volum
HLMP_ABOUT = Despre...
HLMP_CONFIGMENUTIP = Nota: schimbarile o sa apara cand melodia urmatoare o sa porneasca
__________________
mplayerexe is offline
tuty
Veteran Member
Join Date: Jul 2008
Location: UK
Old 05-23-2009 , 12:26   Re: Half Life Media Player 3
Reply With Quote #9

connor, you finally released it!


gj. NTM =))))))))))
__________________
tuty is offline
Send a message via ICQ to tuty Send a message via AIM to tuty
CuLLi
BANNED
Join Date: Apr 2009
Location: Romania (piratebay) C
Old 05-23-2009 , 14:20   Re: Half Life Media Player 3
Reply With Quote #10

could u add shuffle? its not hard to make

Last edited by CuLLi; 05-23-2009 at 14:23.
CuLLi is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:50.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode