DutchGay101
Active member
- Joined
- Sep 15, 2023
- Messages
- 31
- Reaction score
- 2
hi, im trying to get the localplayer current weapon id through offsets i found in https://gtamods.com/wiki/Memory_Addresses_(SA) but it doesnt seem to be working
Code:
WORD GetCurrentWeaponID(DWORD PED)
{
if (!PED)
return;
WORD currentWEPID = *(WORD*)((uintptr_t)PED + 0x740);
return currentWEPID;
}