23.03.2013, 00:35
(
Последний раз редактировалось HurtLocker; 23.03.2013 в 01:15.
)
Reading your post I think you want a smooth, gradual transition from color1 to color2. Well, I tried to make transition from white to red but in the end I get an undescribeable constant mix of all colors, don't try this at home:
pawn Код:
#define COLOR_LIGHTPINK 0xFFB6C1FF
#define COLOR_HOTPINK 0xFF69B4FF
#define COLOR_CORAL 0xFF7F50AA
#define COLOR_TOMATO 0xFF6347AA
#define COLOR_RED 0xFF0000FF
public OnPlayerDeath(playerid, killerid, reason)
{
FadePlayerScreen(playerid, 0xFFFFFFCC, 6, 192);
FadePlayerScreen(playerid, 0xFFB6C1FF, 6, 192);
FadePlayerScreen(playerid, 0xFF69B4FF, 6, 192);
FadePlayerScreen(playerid, 0xFF7F50AA, 6, 192);
FadePlayerScreen(playerid, 0xFF0000FF, 6, 192);
}