Quote:
Originally Posted by zombieplague
I not sure.
PHP Code:
public roundStart( )
{
for ( new i = 1; i <= g_iMaxPlayers; i++ )
{
set_task( 1.0, "Menu", i )
set_task( 5.0, "Destroy_Menu", i )
}
}
I want the Menu to be destroy in 5 second time. but i don't know the code
|
BloodMan gave you the code...
And you have to know that you are destroying the menu in 4 seconds after the menu appear, not 5 seconds (5 - 1).
__________________