Raised This Month: $ Target: $400
 0% 

Need help whit script!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
flyeni6
Senior Member
Join Date: Jun 2006
Location: CAli
Old 07-04-2007 , 16:28   Re: Need help whit script!
Reply With Quote #1

here u go
PHP Code:
 
#include <amxmodx>
#include <amxmisc>
 
#define PLUGIN "New Plugin"
#define VERSION "1.0"
#define AUTHOR "Author"
 
public plugin_init() 
{
      
register_plugin(PLUGINVERSIONAUTHOR)
      
register_clcmd("say /buyxp","cmdbuyxp")
}
 
public 
client_putinserver(id)
{
      
set_task(180.0"announce"id,_,_,"b")//180 seconds = 3min
}
public 
announce(id)
{
      
client_print(0,print_chat,"Type /server to view the server info")
      
client_print(0,print_chat,"Type /buyxp to learn how to buy xp")
      
client_print(0,print_chat,"Type /rules to view the rules")
      
client_print(0,print_chat,"Type /motd to view the Message of the Day")
}
 
public 
cmdbuyxp(id)
{
      
client_print(id,print_chat,"To buy Xp conntact whit Admin!")

__________________


Last edited by flyeni6; 07-04-2007 at 16:35.
flyeni6 is offline
Send a message via AIM to flyeni6
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 21:31.


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