Raised This Month: $ Target: $400
 0% 

Easy way to get round time?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
TitANious
Veteran Member
Join Date: Feb 2009
Location: Denmark
Old 05-27-2009 , 15:16   Re: Easy way to get round time?
Reply With Quote #1

Lol, why did i do that?
__________________
I dislike this.

"A sneeze never comes alone!" <-- Important to remember.
TitANious is offline
Send a message via MSN to TitANious
DarkGod
SourceMod DarkCrab
Join Date: Jul 2007
Location: Sweden
Old 05-28-2009 , 09:01   Re: Easy way to get round time?
Reply With Quote #2

PHP Code:
public cmdWMenu(id)
{
    
    if((
get_pcvar_num(gCvarMenuOpen) == 0) && (get_pcvar_num(g_Enable) == 0))
    return 
PLUGIN_HANDLED;
        
    if((
get_pcvar_num(gCvarMenuOpen) == 1) && (get_roundtime() <= 10.0))
    {
        
set_task(TASK_MENU_DISPLAY_TIME"choose_menu");
    }
    else
    {
        
client_print(idprint_chat"10 secs have past, try again next round")
    }
    return 
PLUGIN_CONTINUE

At least that worked fine for me. o_O
__________________
DarkGod is offline
Send a message via AIM to DarkGod Send a message via MSN to DarkGod
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:27.


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