[HELP] Drawing Radar

Posts 115 of 20 · Page 1 of 2
[HELP] Drawing Radar
So i am trying to Draw a radar for my hack and i wanna make a call to SetRect to do this. this code compiles fine but it doesnt work in game

This is just for my rectangle.
I tried using this:
This is where i declare it to return no value in my main()

Code:
void SetRect (rect * R; int Top, Left, Bottom, Right ) ;
void FrameRect ( rect * R ) ;
void PaintRect ( rect * R ) ;
void PenSize ( int height, int width ) ;
Now to call the function i use

Code:
rect * outside ;
int top, bottom, left, right ;
top = 200;
bottom = 300;
left = 300;
right = 350;
PenSize (4, 6) ;
ForeColor (black);
SetRect ( outside, top, bottom, left, right ) ;
FrameRect (outside);
PaintRect (outside);
Now i Set a empty for loop so it will stay longer on the screen

Code:
for ( int x=1 ; x < 100000 ; x = x + 1 ) ;
Any suggestions on what i did wrong?
You will need a working W2S...
Quote Originally Posted by Zoom View Post
You will need a working W2S...
If your just drawing a box, then you dont need it, but idk what your trying to do o.0
Alright thanks

And for the lines inside the radar could i just use.

Code:
void MoveTo ( int row, int col ) ;
void LineTo ( int row1, intcol1 ) ;
void PenSize ( int height, int width ) ;
Then for my lines:
Code:
PenSize ( 4, 6 ) ;
MoveTo (355, 8);
LineTo (200, 8);
MoveTo (265, 6);
LineTo (265, 12);
Im trying to draw the radar for my hack..
Quote Originally Posted by gcflames12 View Post
Im trying to draw the radar for my hack..
If you dont have working addies then its just a random box lol so draw that, just like you would with your menu box?
Is it a 2D radar or a 3D ESP?
This type of radar is in g**d*n s*s aswell...
Deadlinez posted a function for this a while back, am I wrong?
Deadlinez did but he posted a D3D im using SetRect and Mr.MagicMan it is a 2d radar. and markjov i do have addies for radar this is just going to be what i can see them on.
Quote Originally Posted by gcflames12 View Post
Deadlinez did but he posted a D3D im using SetRect and Mr.MagicMan it is a 2d radar. and markjov i do have addies for radar this is just going to be what i can see them on.
oo then you do need World to screen, and you should use the one Deadlinez posted.
I know and i got the radar working ingame now (: so im about 25% done now all i have to do is add the addies and set a hotkey
rofl, you got a working radar with w2s? um ss?
well im working on something for soldierfront right now so i havent put in addies yet for radar but i got the visuals down just as i saw in your post.
You dont need a WorldToScreen for a radar, unless Ive read this thread wrong?
Posts 115 of 20 · Page 1 of 2
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Need help?