Raised This Month: $ Target: $400
 0% 

block show menu


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Debesėlis
Senior Member
Join Date: Aug 2008
Location: Lithuania
Old 08-10-2009 , 08:52   block show menu
Reply With Quote #1

With this code player can enable menu when 2 round hasn't started... I need that blocked the menu until the round begins...

PHP Code:
    if ( get_user_flags(id) & ACCESS && RoundCount )
    {
        if ( 
get_cvar_num("amx_script") == )
        {
            
client_print(idprint_chat"%L"LANG_PLAYER"WAIT");
            return 
PLUGIN_HANDLED;
        }
    } 
P.S. I use
PHP Code:
    register_logevent("event_round_end"2"0=World triggered""1=Round_End"); 
Maybe need use?
PHP Code:
register_logevent"event_round_start"2"1=Round_Start" ); 
Debesėlis is offline
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 18:17.


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