[FilterScript] [FS] Fallout's Death camera
#6

Quote:
Originally Posted by °ғαιιοцт°
the textdraw thing is fixed, but is the timer wrong? (i don't think it is, because i used SetTimerEx with "playerid")
The point is that you only have 1 timer-variable (CountDownTimer).
For example this will happen:
  • Player 1 Dies, Value of CountDownTimer set to '1'
  • Within 6 seconds, Player 2 dies, CountDownTimer will be set to '2' since the first timer is not killed/finished yet
  • The 6 seconds are over for Player 1, CountDownTimer (which has value '2' now, gets killed).
  • There timer for the first player will never stop, and player 2 will not spawn again since his/her timer is killed
I did not tested it, but i think this can happen when a player dies within 6 seconds after another player died.

To solve, you have to make a CountDownTimer-vaiable for every player:
Code:
new CountDownTimer[MAX_PLAYERS];
Reply


Messages In This Thread
[FS] Fallout's Death camera - by ғαιιοцт - 03.01.2009, 15:24
Re: [FS] Fallout's Death camera - by russiany - 03.01.2009, 15:48
Re: [FS] Fallout's Death camera - by ғαιιοцт - 03.01.2009, 15:54
Re: [FS] Fallout's Death camera - by Sandra18[NL] - 03.01.2009, 16:25
Re: [FS] Fallout's Death camera - by ғαιιοцт - 03.01.2009, 17:15
Re: [FS] Fallout's Death camera - by Sandra18[NL] - 03.01.2009, 17:24
Re: [FS] Fallout's Death camera - by ғαιιοцт - 03.01.2009, 17:28
Re: [FS] Fallout's Death camera - by eXtreme72 - 04.01.2009, 06:51
Re: [FS] Fallout's Death camera - by ArryMan - 04.01.2009, 08:36
Re: [FS] Fallout's Death camera - by ғαιιοцт - 04.01.2009, 09:41

Forum Jump:


Users browsing this thread: 2 Guest(s)