CLEO Help [LOCK] Create crosshair on free camera moving

CLEO related
Status
Not open for further replies.

Grubitsh

Active member
Joined
Jul 28, 2014
Messages
104
Reaction score
0
Hi all,

I am working on a cleo which simulate de " LAPD chopper camera "

I would like to create a crosshair (or whatever looks like a crosshair) to see where the camera point at.

How to create crosshair in free camera mode ?

Example

 

PopandaulX

Active member
Joined
Jul 15, 2013
Messages
189
Reaction score
1
Re: Create crosshair on free camera moving

03F0: enable_text_draw 1
038E: draw_box_position 320.0 200.0 size 10.0 1.0 RGBA 0 255 0 255
038E: draw_box_position 320.0 200.0 size 1.0 10.0 RGBA 0 255 0 255
 

Grubitsh

Active member
Joined
Jul 28, 2014
Messages
104
Reaction score
0
Re: Create crosshair on free camera moving

Thanks, it's working.

As I see I need to use it in a loop.

I will try something, I come back later.

Thanks again.
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
272
You can use

SAMPFUNCS;
0B71: render 2@ = load_texture_from_file "CLEO\crosshair.png"

Or using .txds and loading images from txd then drawing them on screen. If you want a custom, nicer crosshair.
 
Status
Not open for further replies.
Top