Raised This Month: $ Target: $400
 0% 

Timed command for each round


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
minimiller
Veteran Member
Join Date: Aug 2007
Location: United Kingdom
Old 05-20-2009 , 18:33   Re: Timed command for each round
Reply With Quote #1

new bool:isInMenu[33] = false;
cmdOpenMenu() { isInMenu(id) = true; set_task(10.0, "check_menu", id); }
public check_menu(id) { if(isInMenu(id) { destroy_menu(menu); } return PLUGIN_CONTINUE; }
__________________
minimiller is offline
Send a message via MSN to minimiller
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 01:34.


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