[C++ m0d_sa]FPS Unlocker037 & 0.3DL Offsets

  • Thread starter Deleted member 57993
  • Start date
D

Deleted member 57993

Guest
C++:
#define SAMP_UNLOCK_FPS                                0x9D9D0 // This offset for 0.3.7
#define SAMP_UNLOCK_FPS                                0xA2400 // This offset for 0.3DL
void FPS_Unlocker()
{
    static bool    bUnlocker = true;
    if (set.General.Use_FPS_Unlocker) // "General" was a structure variable in Project Attack -> try set.bFPSUnlocker
    {
        if (g_dwSAMP_Addr == NULL)
            return;

        /* FPS Unlocker... fuck your mom... */
        memcpy_safe((void *)(g_dwSAMP_Addr + SAMP_UNLOCK_FPS), "0x5051FF15", 4, 1);
        bUnlocker = false;
    }
    else if (!set.General.Use_FPS_Unlocker && !bUnlocker)
    {
        if (g_dwSAMP_Addr == NULL)
            return;

        memcpy_safe((void *)(g_dwSAMP_Addr + SAMP_UNLOCK_FPS), "0x5051FF15", 4, 1);

        bUnlocker = true;
    }
}
This FPS Unlocker is from "RapidFire's Project Attack"
There's no reason to making it private
Note: The offsets is not found by me.
~ Project Attack developer: RapidFire
 
Last edited:
Top