- void PlayerHacks(void)
- {
- DWORD Server = PTR_SERVER;
- if(Slot5 == 1){*(long*)(Server+OFS_SLOT_5) = 1;}
- if(Slot6 == 1){*(long*)(Server+OFS_SLOT_6) = 1;}
- if(Slot7 == 1){*(long*)(Server+OFS_SLOT_7) = 1;}
- if(Slot8 == 1){*(long*)(Server+OFS_SLOT_8) = 1;}
- if(Prone == 1)
- {
- if(GetAsyncKeyState('V'))
- {
- *(BYTE*)ADR_PRONE_CQC = 0x1;
- }
- }
- }