Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CoD4 External No Sway
#1
Wczoraj miałem pomysł i wygląda na to, że działa dobrze. ADR_CLIENT_PITCH / YAW_READONLYFIXED to Pitch / Yaw, który nie zmienia się, gdy celujesz w celownik.       Kod:   #define ADR_CLIENT_PITCH_READONLYFIXED 0xC84FBC #define ADR_CLIENT_YAW_READONLYFIXED 0xC84FC0 #define ADR_WEAPON_PITCH 0x79E76C #define ADR_WEAPON_YAW 0x79E770 #define ADR_CLIENT_PITCH 0xC84FD8 #define ADR_CLIENT_YAW 0xC84FDC gdy ( 1 ) {float Pitch = readFloat ( ADR_CLIENT_PITCH ) - PitchDis ; PitchDis = ReadFloat (ADR_CLIENT_PITCH_READONLYFIXED) - ReadFloat (ADR_WEAPON_PITCH); WriteFloat (ADR_CLIENT_PITCH, Pitch + PitchDis); float Yaw = ReadFloat (ADR_CLIENT_YAW) - YawDis; YawDis = ReadFloat (ADR_CLIENT_YAW_READONLYFIXED) - ReadFloat (ADR_WEAPON_YAW); WriteFloat (ADR_CLIENT_YAW, Yaw + YawDis); Sen (1); }
Reply




Users browsing this thread: 1 Guest(s)