Raised This Month: $ Target: $400
 0% 

Little Trouble CAL-CZ Config


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Anarchist
Junior Member
Join Date: Nov 2005
Old 12-13-2005 , 02:10   Little Trouble CAL-CZ Config
Reply With Quote #1

Hi, well. I think im over my head in this plugin, but its an idea..

Code:
#include <amxmodx>
#include <amxmisc>
#include <cstrike>
#include <fun>

public plugin_init() {
	register_plugin("StnCALMod","1.0","Anarch!st")
	register_clcmd("say /pregame",cmd_pg, ADMIN_KICK,"- Custom Second To None Cal-Open Plugin Command")
	register_clcmd("say /prelo3",cmd_prelive, ADMIN_KICK,"- Custom Second To None Cal-Open Plugin Command")
	register_clcmd("say /lo3",cmd_live, ADMIN_KICK,"- Custom Second To None Cal-Open Plugin Command")
	register_clcmd("say /halftime",cmd_half, ADMIN_KICK,"- Custom Second To None Cal-Open Plugin Command")
	register_clcmd("say /stop","cmd_endall", ADMIN_KICK,"- Custom Second To None Cal-Open Plugin Command")
}
public cmd_pg() {
	client_print(0,print_chat,const message[],^-[A]narch!st CAL- Config Plugin-^)
	server_exec("exec pregame.cfg")
	PLUGIN_CONTINUE
}
public cmd_prelive() {
	client_print(0,print_chat,const message[], CAL-Open Config has been Started)
	client_print(0,print_chat,const message[], Type ready in chat to start the match!)
	client_print(0,print_chat,const message[], Match will not start until both teams confirm they are ready)
	PLUGIN_CONTINUE
}
public cmd_half() {
	client_print(0,print_chat,const message[], Good Half Everyone)
	server_exec("sv_restartround 1")
	PLUGIN_CONTINUE
}
public cmd_endall() {
	client_print(0,print_chat,const message[], This Match Has Been Stopped, Thanks for Playing)
	server_exec("sv_restartround 1")
	server_exec("exec server.cfg")
	PLUGIN_CONTINUE
}
public cmd_live() {
	server_exec("exec lo3.cfg")
	client_print(0,print_chat,const message[], Good Luck, Have Fun, and Please Talk in Teamsay, The match is starting!)
	PLUGIN_CONTINUE
}
I get errors every line, I think Ive underestimated the difficulty[/quote]
__________________
My Plugins:
(Im learning the basics of code)
(Please IM me on AOL in my profile if you can help)
Anarchist is offline
Send a message via AIM to Anarchist
 



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 15:56.


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