Raised This Month: $ Target: $400
 0% 

FadeToBlack


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 10-03-2009 , 06:42   FadeToBlack
Reply With Quote #1

Hi...

Emm, i am using the .inc of Connor:

http://forums.alliedmods.net/showthread.php?t=87623

The UTIL_FadeToBlack.

The problem is, how can i remove the fade? Yes, i have to make a task for example... and then? i tried with a lot of things, for example a negative number but nothing.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...

Last edited by Alucard^; 10-03-2009 at 06:49.
Alucard^ is offline
Send a message via Skype™ to Alucard^
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-03-2009 , 06:46   Re: FadeToBlack
Reply With Quote #2

To remove, just send : UTIL_ScreenFade(id) with no more params.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 10-03-2009 , 06:48   Re: FadeToBlack
Reply With Quote #3

It uses FFADE_STAYOUT = ignores the duration, stays faded out until new ScreenFade message received
__________________
Arkshine is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 10-03-2009 , 06:58   Re: FadeToBlack
Reply With Quote #4

@ Connor

Thx!

@ Arkshine

Yea, i am watching that right now. Thx too.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-03-2009 , 07:00   Re: FadeToBlack
Reply With Quote #5

Arkshine is right, remove the FFADE_STAYOUT flag and set the duration you want.

UTIL_ScreenFade(id, _, FloatFadeTime, FloatDurationTime, 255, FFADE_OUT)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 10-03-2009 at 07:22.
ConnorMcLeod is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 10-03-2009 , 07:24   Re: FadeToBlack
Reply With Quote #6

No, becouse i don't want to use the fade for an specific time... i want to remove the fade in an specific "event" so the:

Quote:
UTIL_ScreenFade(id) with no more params.
method, work perfect for me.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 22:43.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode