Raised This Month: $ Target: $400
 0% 

pls just check a small code


Post New Thread Reply   
 
Thread Tools Display Modes
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
vato loco [GE-S]
Veteran Member
Join Date: Oct 2006
Location: Germany
Old 12-31-2008 , 17:03   Re: pls just check a small code
Reply With Quote #2

PHP Code:
client_print idprint_console"====================" );
client_print idprint_console"Bb1 3axoguTe Ha Avril Lavigne" );
client_print idprint_console"Cs Music server - avril.zapto.org" );
client_print idprint_console"Please visit our forum ==>" );
client_print idprint_console"http:lavigne.at.ua/forum" );
client_print idprint_console"=====================" ); 
__________________
vato loco [GE-S] is offline
mozart123
Member
Join Date: Nov 2008
Old 12-31-2008 , 17:29   Re: pls just check a small code
Reply With Quote #3

ok tnhx!!!
__________________

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


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