Raised This Month: $ Target: $400
 0% 

[L4D2] Nuke - Timer Issue


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Grey83
Veteran Member
Join Date: Dec 2014
Location: Ukraine
Old 07-23-2022 , 11:45   Re: [L4D2] How to stop timers + countdown issue
Reply With Quote #1

Quote:
Originally Posted by alasfourom View Post
Shouldn't be TIMER_REPEAT > To make countdown work???
yes
PHP Code:
public Action Timer_StartCountDown(Handle timer)
{
    
g_Timer CreateTimer(1.0Timer_CountDown);
    return 
Plugin_Stop;

==>
PHP Code:
public Action Timer_StartCountDown(Handle timer)
{
    
g_Timer CreateTimer(1.0Timer_CountDown_TIMER_REPEAT);
    return 
Plugin_Stop;

__________________
Grey83 is offline
alasfourom
Senior Member
Join Date: Feb 2022
Location: Saudi Arabia
Old 07-23-2022 , 12:22   Re: [L4D2] How to stop timers + countdown issue
Reply With Quote #2

Quote:
Originally Posted by Grey83 View Post
yes
PHP Code:
public Action Timer_StartCountDown(Handle timer)
{
    
g_Timer CreateTimer(1.0Timer_CountDown);
    return 
Plugin_Stop;

==>
PHP Code:
public Action Timer_StartCountDown(Handle timer)
{
    
g_Timer CreateTimer(1.0Timer_CountDown_TIMER_REPEAT);
    return 
Plugin_Stop;

Excellent, thanks
alasfourom 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 00:58.


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