Removing FadeScreen
Okay guys need help really quick! :D
Code:
public BlindUser(id){Don't make fun of me but I'm gonna throw out a guess: Code:
message_begin(MSG_ONE,g_msg_screen_fade,{255,255,255},id); |
Re: Removing FadeScreen
Try out your guess, it might work.
|
Re: Removing FadeScreen
PHP Code:
|
Re: Removing FadeScreen
Thanks for the replies, but not exactly what I'm looking for :S
Code:
message_begin(MSG_ONE, g_msg_screen_fade, {0, 0, 0}, id);I figured out how to remove the task myself, but as of now this still leaves you with complete vision. Kinda worked backwards o_O EDIT: Using the original message_begin code, it gets you blind for like half a second and goes away, doesn't stay permanently until task removes it Code:
message_begin(MSG_ONE,g_msg_screen_fade,{0,0,0},id); |
Re: Removing FadeScreen
PHP Code:
In that case, to reset players screen just send UTIL_ScreenFade( id ) with no parameter. And blind : UTIL_ScreenFade(id,{0,0,0}, 5.0, 7.0, 0, FFADE_STAYOUT). Because actually the 3rd param you use in message_begin is completely wrong, should be 0 1, 2, 4 or addition of those values, not 4096 or any other value. |
Re: Removing FadeScreen
I got it to work guys! :) thanks for any help
Just one thing.. Can anyone tell me what these write shorts mean? Code:
write_short( 1<<15 ); |
Re: Removing FadeScreen
Quote:
And the basic function of messages. http://forums.alliedmods.net/showthread.php?t=49828 |
Re: Removing FadeScreen
Quote:
|
Re: Removing FadeScreen
Quote:
|
Re: Removing FadeScreen
Quote:
I can't believe hawk wrote such a think, may be a fast copy/paste. Edited with some explaination on ScreenFade message even if it's not the purpose of the tut. |
| All times are GMT -4. The time now is 08:21. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.