PHP Code:
public shake(id)
{
message_begin(MSG_ONE_UNRELIABLE, g_msgFade, .player=id)
{
write_short(1<<14)
write_short(1<<5)
write_short(FFADE_IN)
write_byte(34)
write_byte(34)
write_byte(139)
write_byte(75)
}
message_end()
message_begin(MSG_ONE_UNRELIABLE, g_msgShake, .player=id)
{
write_short(255<<15)
write_short(50<<8)
write_short(255<<15)
}
message_end()
}
where is shake's duration?