hi,
I know there is ]OP[Crosshair.cs already which puts crosshair in the middle of the screen (gta vice city-like) but this one is made by using the new samp functions and also doesn't need you to put anything inside "models" folder. It puts + on it's own instead.
You need samp functions v2.5.1 (from the attachment)
For those who would want the codes :
For those who want to download : (from the attachment)
I know there is ]OP[Crosshair.cs already which puts crosshair in the middle of the screen (gta vice city-like) but this one is made by using the new samp functions and also doesn't need you to put anything inside "models" folder. It puts + on it's own instead.
You need samp functions v2.5.1 (from the attachment)
For those who would want the codes :
Code:
// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007
{$VERSION 3.1.0027}
{$CLEO .cs}
//-------------MAIN---------------
thread 'CROSSHAIR'
0662: NOP "XZYTRO SAYS HI"
:CROSSHAIR
wait 500
if and
0256: player $PLAYER_CHAR defined
0AFA: is_samp_structures_available
0AB0: key_pressed 0x6B
0AB0: key_pressed 0x9
else_jump @CROSSHAIR
0B80: samp $crosshair = create_dialog "Crosshair"
0B5A: get_screen_resolution $scrn_res_x $scrn_res_y
$scrn_res_x /= 2
$scrn_res_y /= 2
$scrn_res_x += 40
$scrn_res_y -= 120
0B91: samp dialog $crosshair add_static id 0x01 text "+" pos_XY $scrn_res_x $scrn_res_y size 250 24
:TOGGLE_OFF
wait 500
if and
0AB0: key_pressed 0x6B
0AB0: key_pressed 0x9
else_jump @TOGGLE_OFF
$scrn_res_x *= 2
$scrn_res_y *= 2
$scrn_res_x -= 40
$scrn_res_y += 120
0B84: samp dialog $crosshair set_pos_XY $scrn_res_x $scrn_res_y size 250 24
jump @CROSSHAIR