Hey guys,
Im getting a wierd error and then my server shuts down, Ive never seen the error before and was wondering if some one could assist me.
Code:
FATAL ERROR (shutting down): User Msg 'ScreenFade': 12 bytes written, expected 10
There is only one place in my code that I am using that.
Code:
new gMsgScreenFade;
gMsgScreenFade = get_user_msgid ( "ScreenFade" );
message_begin( MSG_ONE, gMsgScreenFade, { 0, 0, 0 }, id );
write_short( 1<<15 );
write_short( 1<<10 );
write_short( 1<<12 );
write_byte( 255 );
write_byte( 255 );
write_byte( 255 );
write_byte( 255 );
message_end();
message_begin(MSG_ONE,gmsgShake,{0,0,0},id);
write_short( 255<< 14 ); //ammount
write_short( 10 << 14 ); //lasts this long
write_short( 255<< 14 ); //frequency
message_end();
Any ideas?