View Single Post
soumyadip77
Senior Member
Join Date: Jul 2017
Location: INDIA,KOLKATA
Old 02-27-2018 , 03: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