[L4D2] Nuke - Timer Issue
Hello guys
Explaining The plugin: Nuke/Explode Survivors After A Period Of Time Currently only slayed I'm trying to understand some concepts here, My always issues are with timers, I'm trying to stop timer + repeated timers when round end The 2nd issue, need to fix the countdown, how to replace the 600 sec with the ConVar PHP Code:
|
Re: [L4D2] How to stop timers + countdown issue
Usually I create a "global" timer variable
PHP Code:
PHP Code:
PHP Code:
I recommend you read Dragokas's post about timers. |
Re: [L4D2] How to stop timers + countdown issue
Thank you Marttt I will definitely take a look at it, can you also explain to me why this is not working
PHP Code:
|
Re: [L4D2] How to stop timers + countdown issue
I didn't understand what this variable is for. Seems more of a logic error to me.
If is a countdown usually I set the var in LeftSafeArea to "e.g." 10, then keep decrementing inside the repeat_timer If the value is <= 0 then you should Stop the timer. |
Re: [L4D2] How to stop timers + countdown issue
because I want it to countdown the ConVar NukeTimer which can be changed
PHP Code:
I hope you got my point |
Re: [L4D2] How to stop timers + countdown issue
not much reason to use a float here
btw is just change the "10" example for the one I mentioned g_CountDown = GetConVarInt(NukeTimer); on round start and ExplodingTime = g_CountDown--; |
Re: [L4D2] How to stop timers + countdown issue
Worked like a charm
Thank you Marttt :up::up: |
Re: [L4D2] How to stop timers + countdown issue
I have another issue now :oops:
The First Issue, is this error, I have no clue how to fix this > Line 58 I pointed it in the script > delete g_Timer_NukePlayers; PHP Code:
PHP Code:
|
Re: [L4D2] Nuke - Timer Issue
alasfourom,
PHP Code:
PHP Code:
|
Re: [L4D2] How to stop timers + countdown issue
Quote:
PHP Code:
PHP Code:
|
| All times are GMT -4. The time now is 00:58. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.