#include <windows.h>
#include <process.h>
void tFps_unlock(PVOID)
{
DWORD SAMP_DLL = (DWORD)LoadLibrary("samp.dll");
if (SAMP_DLL)
{
*(DWORD*)(SAMP_DLL + 0x9d9d0) = 0x5051FF15;
*(bool*)0xBAB318 = 0;
*(bool*)0x53E94C = 0;
}
}
BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpReserved)
{
if (fdwReason == DLL_PROCESS_ATTACH)
_beginthread(tFps_unlock, NULL, NULL);
return TRUE;
}