Why can't I set a long hold time with this stock? It only lasts maximum 10 seconds.
Code:
stock fadeToBlack(duration, holdTime) {
message_begin(MSG_BROADCAST, get_user_msgid("ScreenFade"));
write_short((1<<12) * duration);
write_short((1<<12) * holdTime);
write_short(0x0001);
write_byte(0);
write_byte(0);
write_byte(0);
write_byte(255);
message_end();
}