Raised This Month: $ Target: $400
 0% 

stop! clanware


Post New Thread Reply   
 
Thread Tools Display Modes
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
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 03-10-2010 , 03:07   Re: stop! clanware
Reply With Quote #2

huh?
and in English & right Forum?
__________________
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
molnasek
New Member
Join Date: Mar 2010
Old 03-10-2010 , 03:14   Re: stop! clanware
Reply With Quote #3

omg, i need when i write /stop, then games was stoped (pause). no restarted

Last edited by molnasek; 03-10-2010 at 03:38.
molnasek is offline
worldspawn
Senior Member
Join Date: Aug 2009
Location: Russia, Yekaterinburg
Old 03-10-2010 , 08:51   Re: stop! clanware
Reply With Quote #4

amx_pause
worldspawn is offline
Send a message via ICQ to worldspawn Send a message via Skype™ to worldspawn
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 19:49.


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