ScreenFade
Hey once again in need of help :)
So i'm using this,it works correctly but what i wanna do is fade to black (0,0,0) like the cvar (mp_fadetoblack) and this code doesn't exactly do that...why? :) Code:
public nvg1(id) { |
That last write_byte sets the alpha for the fade. I'm guessing alpha = 0 means fully transparent fade, i.e. no fade at all. In my plugin, I use alpha of 255, and it works.
\malex\ |
yeh the last is alpha n if u want it to be completely black then u use this:
Code:
|
Thx guys :)
|
what would i have to do to make it last for ever?
Thx, |
Call it each round?
|
nah,its a function that is called when an amount of frags has been reached...i dont know exactly how to play around with the write_short etc..
Thx, |
Well if that's the case, then you should have no problem. That stays on untill the player dies.
|
well actually it doesnt...it fades & stays black for about 5s then it comes back to normal...
[EDIT] : Nevermind i was calling another function just after .. ;) Thx |
| All times are GMT -4. The time now is 17:17. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.