You will need a working W2S...
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()
Now to call the function i useCode:void SetRect (rect * R; int Top, Left, Bottom, Right ) ; void FrameRect ( rect * R ) ; void PaintRect ( rect * R ) ; void PenSize ( int height, int width ) ;
Now i Set a empty for loop so it will stay longer on the screenCode: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);
Any suggestions on what i did wrong?Code:for ( int x=1 ; x < 100000 ; x = x + 1 ) ;
You will need a working W2S...
-Rest in peace leechers-
Your PM box is 100% full.
Alright thanks
And for the lines inside the radar could i just use.
Then for my lines:Code:void MoveTo ( int row, int col ) ; void LineTo ( int row1, intcol1 ) ; void PenSize ( int height, int width ) ;
Code:PenSize ( 4, 6 ) ; MoveTo (355, 8); LineTo (200, 8); MoveTo (265, 6); LineTo (265, 12);
Last edited by gcflames12; 08-15-2010 at 10:15 AM.
Im trying to draw the radar for my hack..
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.
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?