Newbie HvHer
- User ID
- 6213
- Messages
- 4
- Reactions
- 0
- Level
- 1
Hey guys i wantet to add a LBY checker in my legacy resolver but im getting an error "expectet a declaration" here is the lby checker
{ (RIGHT HERE IS THE DECLARATION ERROR
// LBY SHOULD HAVE UPDATED HERE.
if (record->m_anim_time >= data->m_body_update) {
// only shoot the LBY flick 3 times.
// if we happen to miss then we most likely mispredicted
if (data->m_body_index < 1) {
// set angles to current LBY.
record->m_eye_angles.y = record->m_body;
data->m_body_update = record->m_anim_time + 1.1f;
// set the resolve mode.
iPlayers[record->m_player->index()] = false;
record->m_mode = Modes::RESOLVE_BODY;
}
}
}
would be great if someone could help me
{ (RIGHT HERE IS THE DECLARATION ERROR
// LBY SHOULD HAVE UPDATED HERE.
if (record->m_anim_time >= data->m_body_update) {
// only shoot the LBY flick 3 times.
// if we happen to miss then we most likely mispredicted
if (data->m_body_index < 1) {
// set angles to current LBY.
record->m_eye_angles.y = record->m_body;
data->m_body_update = record->m_anim_time + 1.1f;
// set the resolve mode.
iPlayers[record->m_player->index()] = false;
record->m_mode = Modes::RESOLVE_BODY;
}
}
}
would be great if someone could help me