View Single Post
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 03-24-2012 , 08:00   Re: [INC] ScreenFade Util
Reply With Quote #24

Rage version :

Three stocks :

Code:
// Main util
UTIL_ScreenFade(id, Float:color[3]={0.0,0.0,0.0},Float:fadeTime=0.0,Float:fadeHold=0.0,alpha=0,flags=FFADE_IN)


// Utils from main util

UTIL_FadeToBlack(id,Float:fadeTime=3.0)


UTIL_Flash(id, Float:fadeTime, Float:holdTime, bool:bFullFlashed)
Details :
  • fadeTime and fadeHold in seconds.
  • color, type : { 0.0-255.0 , 0.0-255.0 , 0.0-255.0 }
  • alpha, type : 0-255
  • flags : see .inc
Attached Files
File Type: zip HANDLERS_screenfade_util_SRC.zip (117.8 KB, 339 views)
File Type: zip HANDLERS_screenfade_util_BIN.zip (87.8 KB, 334 views)
File Type: zip SIGS_screenfade_util.zip (1.8 KB, 326 views)
File Type: inc screenfade_util_rage.inc (1.5 KB, 302 views)
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 02-01-2013 at 15:32.
ConnorMcLeod is offline