SA-MP Forums Archive
[FilterScript] [FS] Fallout's Death camera - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [FilterScript] [FS] Fallout's Death camera (/showthread.php?tid=60375)



[FS] Fallout's Death camera - ғαιιοцт - 03.01.2009

Fallout's Death Camera



Hi, I made some sort of Death Camera (so when you die, you spectate the player who killed you)
When there is no killer, you'll just spawn regulary
There is also a little countdown that shows the time before you spawn again.

it looks like this:


How to install:
- Put this filterscript in this folder: server\filterscripts\<here>
- Add F_DC to your filterscripts line in server.cfg

Download:




Re: [FS] Fallout's Death camera - russiany - 03.01.2009

very nice


Re: [FS] Fallout's Death camera - ғαιιοцт - 03.01.2009

thanks


Re: [FS] Fallout's Death camera - Sandra18[NL] - 03.01.2009

Nice!

I didn't test it, but i read the script, and i think there will be problems when 2 or more players are dead/spectating at the same time.

Because you only have 1 textdraw and 1 timer.


Re: [FS] Fallout's Death camera - ғαιιοцт - 03.01.2009

Quote:
Originally Posted by =>Sandra<=
Nice!

I didn't test it, but i read the script, and i think there will be problems when 2 or more players are dead/spectating at the same time.

Because you only have 1 textdraw and 1 timer.
the textdraw thing is fixed, but is the timer wrong? (i don't think it is, because i used SetTimerEx with "playerid", sorry if I'm wrong)


Re: [FS] Fallout's Death camera - Sandra18[NL] - 03.01.2009

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: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];



Re: [FS] Fallout's Death camera - ғαιιοцт - 03.01.2009

ok thx Sandra


Re: [FS] Fallout's Death camera - eXtreme72 - 04.01.2009

Wow, that's nice... I'll definately use this! Good job.


Re: [FS] Fallout's Death camera - ArryMan - 04.01.2009

Did not worked on my server, help


Re: [FS] Fallout's Death camera - ғαιιοцт - 04.01.2009

Quote:
Originally Posted by ęΧţřЄшĕ95
Wow, that's nice... I'll definately use this! Good job.
thx

Quote:
Originally Posted by ArryMan
Did not worked on my server, help
did you add F_DC to your filterscripts line in server.cfg?