TorDB.xyz Owner & Developer
- User ID
- 79083
- Messages
- 6
- Reactions
- 6
- Level
- 1
I know it is a bad way to do it and it has been posted somewhere else.
don't mind the shitcode
don't mind the shitcode
float shift_amount;
Code:
if (rage->sub_tick_data.command == impl::command_msg::rapid_fire)
{
// override tickcount
InputHistoryEntry->m_nPlayerTickCount = 0;
InputHistoryEntry->m_nRenderTickCount = 0;
// another input history
Input->m_render_tick_count = 0;
Input->m_player_tick_count = 0;
// perform shooting
SDK::Cmd->m_nButtons.m_nValue |= IN_ATTACK;
}
else
SDK::Cmd->m_nButtons.m_nValue &= ~IN_ATTACK;
Last edited by a moderator: