Help! Help with Esp

norka

Platinian
Hello all. What should I do with ESP View. How to add this to main.cpp

public void DrawLine(Canvas cvs, int a, int r, int g, int b, float lineWidth, float fromX, float fromY, float toX, float toY) {
this.mStrokePaint.setColor(Color.rgb(r, g, b));
int i = a;
this.mStrokePaint.setAlpha(a);
this.mStrokePaint.setStrokeWidth(lineWidth);
cvs.drawLine(fromX, fromY, toX, toY, this.mStrokePaint);
}
 
it is just a small piece of everything. you need to determine the position of the player of the enemy team, draw a line. and this is just a part that is usually found in java, not c ++
 
See my collections :)) Projects are for high experienced modder only!
 
No! You cannot implement ESPView.java in an cpp file...
What you should do is adding ESPView.java inside the java files of your mod menu and add inside the Service your "Canvas Start" / Tell to the android system to start your ESPView.java class...

After of it, add ESP.h

And add JNI (Java Native Interface) part. After of it, you need to find objects world position and convert them with WorldToScreen function.
After of it draw in the WorldToScreen Vector...
 
Back
Top Bottom