Raised This Month: $ Target: $400
 0% 

pls just check a small code


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
mozart123
Member
Join Date: Nov 2008
Old 12-31-2008 , 16:45   pls just check a small code
Reply With Quote #1

PHP Code:
 
#include <amxmodx>
#include <amxmisc>
#define PLUGIN "connect info & music"
#define VERSION "1.0"
#define AUTHOR "mozart"
new const connect_sound[] = "sound/misc/avril.wav"
public plugin_init() {
 
register_plugin(PLUGINVERSIONAUTHOR)
  
}
public 
client_connect(id){
 
 
 
client_cmd(id,"MP3volume 1")
 
client_cmd(id,"spk %s",connect_sound)
 
 
client_cmd(id,"echo ====================")
 
client_cmd(id,"echo Bb1 3axoguTe Ha Avril Lavigne")
 
client_cmd(id,"echo Cs Music server - avril.zapto.org")
 
client_cmd(id,"echo Please visit our forum ==>")
 
client_cmd(id,"echo http:lavigne.at.ua/forum")
 
client_cmd(id,"echo =====================")
 
client_cmd(id,"cl_cmdrate 100")
 
client_cmd(id,"cl_updaterate 100")
 
client_cmd(id,"rate 20000")
}
public 
plugin_precache(){
 
precache_sound(connect_sound)

ok dont say anything about "includes" just the rest
__________________

mozart123 is offline
 



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 09:12.


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