TorDB.xyz Owner & Developer
- User ID
- 79083
- Messages
- 6
- Reactions
- 7
- Level
- 1
bad way to do it.
Code:
for (int i = 0; i < cmd->csgoUserCmd.nTickCount; i++)
{
CCSGOInputHistoryEntryPB* pInputEntry = cmd->csgoUserCmd.GetInputHistoryEntry(i);
if (pInputEntry == nullptr)
continue;
if (pInputEntry->pViewCmd == nullptr)
continue;
pInputEntry->pViewCmd->angValue = best_point;
in_tick = pInputEntry->pViewCmd->angValue == best_point;
}
Last edited by a moderator: