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: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: death camera (
/showthread.php?tid=274216)
death camera -
a_big - 05.08.2011
When a player dies i have a camera set so it looks somewhere when a player dies but as soon as the player's health is 0 it goes to the camera but i want it to show the player dead for 3 seconds.
Re: death camera -
Godhimself - 05.08.2011
OnPlayerDeath...TogglePlayerSpectating...PlayerSpe ctatePlayer...You may need to use a timer for the 3 secs, and im also not sure if you can spectate yourself.
Quote:
Important Note: Order is CRITICAL! Ensure that you use TogglePlayerSpectating before PlayerSpectatePlayer.
|
Quote by sa-mp wiki.