Raised This Month: $32 Target: $400
 8% 

Connecting music


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
ArminC
Senior Member
Join Date: Apr 2016
Old 02-26-2018 , 12:11   Connecting music
Reply With Quote #1

Can you share a plugin for Connecting/Loading music?

-- I don't want some extern .mp3 music plugin, I wana use this song (half-life end music)
ArminC is offline
Skanix
Junior Member
Join Date: Jan 2018
Location: Algeria
Old 02-26-2018 , 12:43   Re: Connecting music
Reply With Quote #2

Try This You can moddify to Your Own Sound Trick
https://forums.alliedmods.net/showthread.php?t=52029

Last edited by Skanix; 02-26-2018 at 12:44.
Skanix is offline
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 02-27-2018 , 02:11   Re: Connecting music
Reply With Quote #3

TRY THIS SIMPLE

PHP Code:
/* Sublime AMXX Editor v2.2 
CHANGE mp3 name "connect.mp3"
and name your mp3 file connect.mp3 or which name u add here

*/

#include <amxmodx>

#define PLUGIN  "Connect Song"
#define VERSION "1.0"
#define AUTHOR  "//SOUMYADIP//"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
}
public 
plugin_precache()
{
    
precache_generic("sound/connect.mp3");
}
public 
client_connect(id)
{
    
client_cmd(0"mp3 play ^"sound/connect.mp3^"");

soumyadip77 is offline
Send a message via Skype™ to soumyadip77
Bugsy
AMX Mod X Moderator
Join Date: Feb 2005
Location: NJ, USA
Old 08-29-2020 , 13:15   Re: Connecting music
Reply With Quote #4

The attached plugin in your original post works fine for me.

soumyadip77, the original does all of that...and reads the mp3 file name from a config.
__________________
Bugsy 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 12:32.


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