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

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, 15279 views)
File Type: txt hlmp.txt (6.8 KB, 11771 views)
File Type: sma Get Plugin or Get Source (hlmp.sma - 23020 views - 16.5 KB)
File Type: ini hlmp_motd.ini (31 Bytes, 12988 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
pacheco
Senior Member
Join Date: Jul 2011
Old 11-15-2011 , 15:59   Re: Half Life Media Player 3
Reply With Quote #4

Quote:
Originally Posted by xPaw View Post
Holy fuck, gj :p
Ohh, good job!
__________________



pacheco 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 #5

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 #6

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
Old 07-07-2010, 08:38
manlink2
This message has been deleted by manlink2.
manlink2
Junior Member
Join Date: Mar 2010
Old 07-07-2010 , 08:39   Re: Half Life Media Player 3
Reply With Quote #8

Quote:
Originally Posted by alan_el_more View Post
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.
this missing listen , le falto esuchar

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.
HLMP_LISTENING = [HLMP] %s esta escuchando %s
manlink2 is offline
MoShU
Junior Member
Join Date: Jun 2010
Location: London
Old 07-21-2010 , 11:05   Re: Half Life Media Player III (3.1.1 07-24-2009)
Reply With Quote #9

I have a problem , when a player type /radio and select one station is not working, but when i type /radio is working. I am the only one who can listen radio, others not.

How can i fix this?

Thank you.
MoShU 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 #10

: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
Reply



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 05:05.


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