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;
}
}
There's no reason to making it private
Note: The offsets is not found by me.
~ Project Attack developer: RapidFire
Last edited: