29.01.2010, 05:13
Important Note:
Everybody re-download it (assuming you already downloaded it
), I ran into a bug which caused the callback "OnFadeComplete" to be ran continously, this bug is now fixed and a small update has been added.
OnFadeComplete(playerid,beforehold)
beforehold was added. OnFadeComplete will run twice every time now, once for when the fade itself is complete, and once for when the hold time is finished.
beforehold will be '1' for the fade transition completion
it will be '0' for the hold time completion.
StopPlayerFade(playerid) was added into the pawno functions list
FadePlayerConnect(playerid) now has the 'playerid' parameter to adjust for changes forementioned
I added 2 new videos and another script example: Fading Teleport Transitions using the beforehold feature
What do you mean? Fade in for when he dies and fade out for when he spawns?
Everybody re-download it (assuming you already downloaded it

OnFadeComplete(playerid,beforehold)
beforehold was added. OnFadeComplete will run twice every time now, once for when the fade itself is complete, and once for when the hold time is finished.
beforehold will be '1' for the fade transition completion
it will be '0' for the hold time completion.
StopPlayerFade(playerid) was added into the pawno functions list
FadePlayerConnect(playerid) now has the 'playerid' parameter to adjust for changes forementioned
I added 2 new videos and another script example: Fading Teleport Transitions using the beforehold feature
Quote:
Originally Posted by robert4049
could you do this when somone dies
|