samp fast run

user66

Новичок
Автор темы
1
0
hello. i want to make a fast run in c ++.
i have no idea how to get offsets (like to speed the game on the running animation).
tried setting this to a value but isn't working g_Players->pLocalPlayer->pSAMP_Actor->pGTA_Ped->runspeed.
thanks
 

Ninthmoon

Известный
463
127
есть фулл сурс? Без настройки, чтобы сразу + 100.0f
C++:
DWORD gamespeedcount;
void gamespeed()
{
    ReadProcessMemory(hProcess, reinterpret_cast<LPVOID>(0xB7CB64), &gamespeedcount, sizeof(temp), 0);
    gamespeedcount *= 2;
    WriteProcessMemory(hProcess, reinterpret_cast<LPVOID>(0xB7CB64), &gamespeedcount, sizeof(temp), 0);
}