[Include] [INC]Screen Fader -- Supports color-to-color fades!
#41

Quote:
Originally Posted by cachaflo
Посмотреть сообщение
How do you control the speed of the fade?
With 'steps', the fewer steps there are, the quicker it fades.
Reply
#42

Doesn't working in my gamemode (No errors, just not doing anything...)
-------------------EDIT--------------------------------------
Nevermind, i rewrote your include, without useless functions (FadeInit, FadeExit...), now it works.
Reply
#43

Love it still, repping since I haven't before!

But I don't understand why each player doesn't have his or her OWN TEXTDRAW. This script would be bugged as hell when two or more players use a fade at once (EX: Two players are killed by one bomb!).
I edited to make a TD for each player, using FadePlayerConnect...

And I think you should hook callbacks, instead of needing your functions in each needed callback...
Reply
#44

Quote:
Originally Posted by Crayder
Посмотреть сообщение
Love it still, repping since I haven't before!

But I don't understand why each player doesn't have his or her OWN TEXTDRAW. This script would be bugged as hell when two or more players use a fade at once (EX: Two players are killed by one bomb!).
I edited to make a TD for each player, using FadePlayerConnect...

And I think you should hook callbacks, instead of needing your functions in each needed callback...
It doesn't bug due to their only being one textdraw, TextDrawSetColor only updates once TextDrawShowForPlayer is used.
I didn't use hooking because at the time this was made (years ago) hooking was still new and I'd rather not use nonstandard methods.
Reply
#45

Even at the time you made this it was a clever method no need for playertextdraws and indeed is still the best way to do it even by today's standards.

@Edit I hope you don't mind Joe I did a turbo update with callback hooking before Game Of Thrones is on let me know if there is a problem with it.

http://pastebin.com/S6LCiEqH
Reply
#46

last time i using this, it was work...........but suddenly today the fade doesn't work, ._. the fade not appear and sometimes the fade just stuck on the screen
Reply
#47

*delete*
Reply
#48

nice
Reply
#49

Video doesn't work, new link?
Reply
#50

Can the fading speed be controlled?
Also please update thee video links. Thank you!
Reply
#51

Quote:
Originally Posted by HeLiOn_PrImE
View Post
Can the fading speed be controlled?
Also please update thee video links. Thank you!
Yes, you can define UPDATERATE or adjust the steps parameter.
Reply
#52

Links for download are dead, can someone send me another link please!

Thank you.
Reply
#53

Links is dead.
If someone have another links then please pm me, Thank you.
Reply
#54

Quote:
Originally Posted by Min99
View Post
Links is dead.
If someone have another links then please pm me, Thank you.
Here's an up-to-date alternative:

https://sampforum.blast.hk/showthread.php?tid=659337
Reply
#55

Here it's the inc.

https://pastebin.com/fWwdPtdx

It's pretty messy...
Reply
#56

https://sampforum.blast.hk/showthread.php?tid=644785
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)