Raised This Month: $ Target: $400
 0% 

Need help whit script!


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Deviance
Veteran Member
Join Date: Nov 2004
Location: Sweden
Old 07-04-2007 , 16:30   Re: Need help whit script!
Reply With Quote #1

Quote:
Originally Posted by exelz View Post
1.!i need to know command that server will automaticaly say(every 3min):
"Type /server - server info"
"Type /buyxp - how to buy xp"
"Type /rules - server rules"
"Type /motd - see MOTD"
Code:
#include <amxmodx>

public plugin_init()
{
	register_plugin("", "", "")
	set_task(180.0, "show_ad", _, _, _, "b")
}

public show_ad()
{
	client_print(0, print_chat, "Type /server - server info")
	client_print(0, print_chat, "Type /buyxp - how to buy xp")
	client_print(0, print_chat, "Type /rules - server rules")
	client_print(0, print_chat, "Type /motd - see MOTD")
}
Quote:
Originally Posted by exelz View Post
2.How can i make so when player types /buyxp then it types in chat:
"To buy Xp conntact whit Admin!"
Code:
#include <amxmodx>

public plugin_init()
{
	register_plugin("", "", "")
	register_clcmd("say /buyxp", "cmd_info")
}

public cmd_info(id)
{
	client_print(id, print_chat, "To buy Xp conntact whit Admin!")
}

Last edited by Deviance; 07-05-2007 at 15:40.
Deviance 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 21:31.


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