Raised This Month: $ Target: $400
 0% 

Black screen on 60 seconds


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
OnePL
BANNED
Join Date: May 2012
Location: GB
Old 06-18-2012 , 09:05   Black screen on 60 seconds
Reply With Quote #1

Can anyone make a black screen for CT on 60 seconds?
OnePL is offline
Send a message via ICQ to OnePL Send a message via AIM to OnePL Send a message via Yahoo to OnePL Send a message via Skype™ to OnePL
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-18-2012 , 11:25   Re: Black screen on 60 seconds
Reply With Quote #2

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

UTIL_ScreenFade(id, _, 1.0, 60.0, 255)
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
OnePL
BANNED
Join Date: May 2012
Location: GB
Old 06-18-2012 , 11:58   Re: Black screen on 60 seconds
Reply With Quote #3

Thanks
OnePL is offline
Send a message via ICQ to OnePL Send a message via AIM to OnePL Send a message via Yahoo to OnePL Send a message via Skype™ to OnePL
OnePL
BANNED
Join Date: May 2012
Location: GB
Old 06-19-2012 , 17:37   Re: Black screen on 60 seconds
Reply With Quote #4

I have a problem, black screen is removed after 20-30 seconds instead of after 60 seconds
OnePL is offline
Send a message via ICQ to OnePL Send a message via AIM to OnePL Send a message via Yahoo to OnePL Send a message via Skype™ to OnePL
Hyper Nova
BANNED
Join Date: May 2012
Old 06-19-2012 , 17:53   Re: Black screen on 60 seconds
Reply With Quote #5

Quote:
Originally Posted by OnePL View Post
I have a problem, black screen is removed after 20-30 seconds instead of after 60 seconds
i think there are maximum time coded how long can screen fade stay.

there are way to fix this
you need to recall screen fade function so i give you example

PHP Code:
// write it in your function
call_blackscreenfadeid )

call_blackscreenfadeid )
{
    
// write here that screen fade funcion
    
set_task20.0 "call_blackscreenfade_a"id )
}

and 
this will fix this
public call_blackscreenfade_a(id)
{
    
// write here that screen fade funcion

its pretty easy
Hyper Nova is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 06-19-2012 , 18:52   Re: Black screen on 60 seconds
Reply With Quote #6

Max time is 15.999 sec, so better to put random time but with STAYOUT flag, and to set a task at 60.0 that removes the black screen.

So for more the 15.999 you can use :

Spoiler
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 06-20-2012 at 00:34.
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 06:28.


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