fade_user_screen
Fades the client's screen.
Syntax
stock fade_user_screen(id, Float:duration = 1.0, Float:fadetime = 1.0, ScreenFadeFlags:flags = ScreenFade_FadeIn, r = 0, g = 0, b = 255, a = 75, bool:reliable = true) {
Usage
| id | Client index or 0 for all clients |
| duration | How long (in seconds) the fade is going to stay |
| fadetime | How many seconds is the fade going to fade in (0 - 16) |
| flags | Screen fade flags: |
| r | Red color amount (0 - 255) |
| g | Green color amount (0 - 255) |
| b | Blue color amount (0 - 255) |
| a | Color alpha (brightness) (0 - 255) |
| reliable | If true, the message will be sent via the reliable |
Return
if "id" is non-zero and the client isn't connected,
Defined in
msgstocks.inc
at line 372
.
This documentation was automatically generated from source.