You can do like this. (Copied from pokemod.sma)
Code:
setScreenFlash(id, r, g, b, alpha)
{
message_begin(MSG_ONE,get_user_msgid("ScreenFade"),{0,0,0},id)
write_short( 1<<10 )
write_short( 1<<10 )
write_short( 1<<12 )
write_byte( r )
write_byte( g )
write_byte( b )
write_byte( alpha )
message_end()
}
1 question. Why do you have 6 hmm... Well what should we call it?
Thingies
i, jac1, jac2, jac3, 10, 50
Why 6 of them? You need the index, red amount, green amount, blue amount, alpha. The red green and blue is rgb colors btw.
__________________