Raised This Month: $ Target: $400
 0% 

[HELP] Task for blinding>?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
malec321
Senior Member
Join Date: May 2009
Location: Los Angeles
Old 03-24-2011 , 22:17   [HELP] Task for blinding>?
Reply With Quote #1

Can you use tasks to blind a specific person on round start
__________________
Ayyylmao
malec321 is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 03-24-2011 , 22:47   Re: [HELP] Task for blinding>?
Reply With Quote #2

Sure, why not?
__________________
fysiks is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-25-2011 , 03:00   Re: [HELP] Task for blinding>?
Reply With Quote #3

Why would you need a task ?
ScreenFade message has arguments so you can set the length of the blind.

See ScreenFade Util
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
malec321
Senior Member
Join Date: May 2009
Location: Los Angeles
Old 03-25-2011 , 19:24   Re: [HELP] Task for blinding>?
Reply With Quote #4

Code:
UTIL_ScreenFade(id=0,iColor[3]={0,0,0},Float:flFxTime=-1.0,Float:flHoldTime=0.0,iAlpha=0,iFlags=FFADE_IN,bool:bReliable=false,bool:bExternal=false)

UTIL_FadeToBlack(id,Float:fxtime=15.0,bool:bReliable=false,bool:bExternal=false)


That is for a 15 second blind?
__________________
Ayyylmao
malec321 is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-26-2011 , 06:46   Re: [HELP] Task for blinding>?
Reply With Quote #5

No, that would to make a player blind forever, but process would take 15 seconds.

Use UTIL_ScreenFade and set flHoldTime to 15.0 sec.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Reply



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 14:34.


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