well there's many different messages you can apply to...
the following makes their screen a certain color(red in this case)
Code:
message_begin(MSG_ONE,get_user_msgid("ScreenFade"),{0,0,0},id)
write_short( 15 )
write_short( 15 )
write_short( 12 )
write_byte( 200 ) // red
write_byte( 0 ) // green
write_byte( 0 ) // blue
write_byte( 200 ) // alpha
message_end()
Notice it has get_user_msgid("ScreenFade") so it uses the screenfade message to apply the color. The following is a screenflash...
Code:
message_begin(MSG_ONE, get_user_msgid("ScreenShake"),{0,0,0},id)
write_short( 1<<3 )// amplitude
write_short( 1<<3 )// duration
write_short( 1<<3 )// frequency
message_end()
also see the ScreenShake message... notice that the last parameter of message_begin() is who it applies to so make sure you set it to ur needs There are many others but i hope this gives some understandment....
__________________