AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   show menu (https://forums.alliedmods.net/showthread.php?t=99820)

Debesėlis 08-09-2009 16:26

show menu
 
I want to open the menu once, after Round 2.

PHP Code:

            if ( get_user_flags(id) & ACCESS && RoundCount )
            {
                
set_task(0.0"show_menu"id);
            } 


xPaw 08-09-2009 16:29

Re: show menu
 
show_menu( id ); ?

vato loco [GE-S] 08-09-2009 16:30

Re: show menu
 
you for got to set the time in the task ..you have 0.0
i set ist to 0.2

PHP Code:

            if ( get_user_flags(id) & ACCESS && RoundCount == )
            {
                
set_task(0.2"show_menu"id);
            } 

or like xpaw said
PHP Code:

            if ( get_user_flags(id) & ACCESS && RoundCount == )
            {
                
show_menu(id);
            } 



All times are GMT -4. The time now is 18:22.

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