Calling internal gta functions from the "outside"

monday

Expert
Joined
Jun 23, 2014
Messages
1,127
Solutions
1
Reaction score
158
hi, is there any simple way of calling functions like:
Code:
typedef bool (__cdecl *WorldCoords2ScreenCoords_t)(myVector*, myVector*, float * , float * , char, char);
WorldCoords2ScreenCoords_t WorldCoords2ScreenCoords = (WorldCoords2ScreenCoords_t)0x70CE30;
WorldCoords2ScreenCoords(&inPoint, &outPoint, &x, &y, 0, 0);
but by using Read/WriteProcessMemory? Or any other not complicated way?
 

0x_

Wtf I'm not new....
Administrator
Joined
Feb 18, 2013
Messages
1,118
Reaction score
166
https://ugbase.eu/help-27/(c)-stuck-on-calling-a-function-from-samp-dll/
I think that would help we were discussing it over there.
 
Top