Raised This Month: $ Target: $400
 0% 

stop! clanware


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
molnasek
New Member
Join Date: Mar 2010
Old 03-10-2010 , 03:02   stop! clanware
Reply With Quote #1

Hallo, i have my cw/tg plugin, but it not full... I need /stop.
i have now this:
Code:
public plugin_init() {
	register_clcmd("say /stop", "cmd_stop", 0, "- stop the match")
}
public cmd_stop(id) {
	if (match_inprogress == 1) {
		all_msg("Zastavuji zapas.")
		match_inprogress = 0
		set_task(3.0, "restart_round", 0, "1", 1)
		set_task(6.0, "all_msg", 0, "Zapas byl zrusen", 13)
	} else {
		client_print(id, print_chat, "Wickedside.cz[molny]: Momentalne je hra zastavena, pouzij /start")
	}

	return PLUGIN_HANDLED
}
THIS IS BAD!


but this is bad!, i need /stop when game was stoped, here is restart round....
how?

Last edited by molnasek; 03-10-2010 at 03:04.
molnasek 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 19:49.


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