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-21-2009 , 06:21   Re: Timed command for each round
Reply With Quote #1

Im confused at what your trying to do

PHP Code:
public cmdWMenu(id)
{
    if(
g_b10Gone[id]) //This is set to false by default unless you declare it true
    
{
        if(
get_pcvar_num(gCvarMenuOpen) == 1//This is set to 1 in plugin_init, therefore none of the code below will be executed
            
return PLUGIN_HANDLED
        
        
if(get_pcvar_num(gCvarMenuOpen) == 0)
        {
            
set_task(TASK_MENU_DISLPAY_TIME"choose_menu");
        }
    }
    else 
    {
        
client_print(idprint_chat"10 Secunds have gone, try next round");
    }
    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