get target ped

Scraatch

Well-Known Member
Joined
Jan 14, 2017
Messages
76
Likes
2
Points
38
Location
Germany
#1
i used this to get the target ped but always when i start the game, it crashes and its because of the address i use

address:
C++:
DWORD getTargetPed(void) {
    return *(DWORD*)((*(DWORD*)0xB6F3B8) + 0x79C);
}
how do i fix this? need it for a triggerbot
 
OP
OP
Scraatch

Scraatch

Well-Known Member
Joined
Jan 14, 2017
Messages
76
Likes
2
Points
38
Location
Germany
#3
thank you! is there a solution to avoid shooting at ped behind walls?

//EDIT: It is even shooting if only the green triangle is showing. how can i fix this that it only shoots if i am on the player?
 
Last edited:
Top