AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Can someone create this for me? (https://forums.alliedmods.net/showthread.php?t=183692)

Bilal Pro 04-25-2012 10:13

Can someone create this for me?
 
Hello there,

Can someone Create this for me, i want that it goes to light black for ever nothing higher nothing less.

with: UTIL_ScreenFade

i tryed: UTIL_ScreenFade(id, {34,34,34})

mottzi 04-25-2012 11:06

Re: Can someone create this for me?
 
You are in scripting help here.

Exolent[jNr] 04-25-2012 11:13

Re: Can someone create this for me?
 
Use the FFADE_STAYOUT flag.

Bilal Pro 04-25-2012 12:43

Re: Can someone create this for me?
 
Nvm, solved

Bilal Pro 04-25-2012 16:58

Re: Can someone create this for me?
 
Hey,
PHP Code:

UTIL_ScreenFade(id, {3,3,3}, 3.09999.0200FFADE_STAYOUT

Why wont the fade in time work?

Exolent[jNr] 04-25-2012 16:59

Re: Can someone create this for me?
 
Fade time is ignored with FFADE_STAYOUT. The screen will be that color until another ScreenFade message is sent.
If you have other ScreenFade messages removing it (flashbang for example), then hook ScreenFade message and block them if they have the black screen on.

Bilal Pro 04-30-2012 14:01

Re: Can someone create this for me?
 
How would i check if user is flashed?

Exolent[jNr] 04-30-2012 15:46

Re: Can someone create this for me?
 
Quote:

Originally Posted by Exolent[jNr] (Post 1696376)
hook ScreenFade message


Bilal Pro 04-30-2012 16:15

Re: Can someone create this for me?
 
I mean flashed by a flashbang.

Exolent[jNr] 04-30-2012 16:16

Re: Can someone create this for me?
 
Quote:

Originally Posted by Exolent[jNr] (Post 1696376)
hook ScreenFade message



All times are GMT -4. The time now is 07:48.

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