Resource icon

CLEO Release Yet another crosshair.cs

CLEO related
Status
Not open for further replies.

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
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 :
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
For those who want to download : (from the attachment)
 

Attachments

  • crosshair.rar
    6.7 KB · Views: 691
  • SAMP Functions v2.5.1.rar
    187.1 KB · Views: 473

dildotroll

Active member
Joined
Mar 23, 2013
Messages
142
Reaction score
0
eh do i paste all files from samp functions
or just new one one
or everything in there - the examples
 

dogman

Member
Joined
Jul 28, 2013
Messages
9
Reaction score
0
Why it say i dont have permission to download this attached file ?
 

Maskoo

Active member
Joined
Feb 20, 2013
Messages
37
Reaction score
0
Activation keys: TAB+NumpadAdd
http://i.imgur.com/vcAlNHJ.png
If you woud like to have the keys changed, it would be better to do it yourself following this tutorial: <!-- l topic22.html<!-- l

Many thanks for the script AND the source!
But... The white + does not match the center of the screen. (check)
Also, SAMPFuncs 2.6 is out. (yup)
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
eh do i paste all files from samp functions
or just new one one
or everything in there - the examples
you don't need to put the examples, just put the .ini and .cleo to make it work.(if you already had a lower version, remove it before adding the new one). If you want to "script" by using the samp functions v2.5.1 scripts, also copy the files inside "SBData" folder into "C:program Files (86)Sanny Builder 3data"
Why it say i dont have permission to download this attached file ?
You need at least 5 posts to see the attachments.
what is actually crosshair?
Crosshair is a mod which shows you where your deagle might hit when you aim and fire. It is useful when you are running and looking behind at the same time, and with that way you know where to shoot. When you get pro or something you start not to need it ;D It teaches you where to aim, basicly.
But... The white + does not match the center of the screen. (check)
Ah, depends on the screen resolution, when the X and Y are for example 1600x900 instead of 1600x768, that bugs like with a small Y coordinate change :D :D:D
Also, SAMPFuncs 2.6 is out. (yup)
I also have the latest one but i made this by using 2.5.1 so i manually uploaded it :D :D:D
 

shubhi99

Well-known member
Joined
May 10, 2013
Messages
289
Reaction score
1
Hi xztyro sir,the + sign is not in the centre .its 5mm away towards Right .please fix it
 

shubhi99

Well-known member
Joined
May 10, 2013
Messages
289
Reaction score
1
xyztro thanks for ur hard work but it crashes when deactivate it like pressing tab + it activates but if we die and want to deactive it then it shows too many warnings and then it stops working please help
 

shmiqq

Active member
Joined
Jul 23, 2013
Messages
39
Reaction score
0
so if you look down and shoot without right click will it shoot down or still straight?
 

shubhi99

Well-known member
Joined
May 10, 2013
Messages
289
Reaction score
1
Please fix the crash which comes while deactivating it after we die
 

xzytro

God
Joined
Apr 1, 2013
Messages
2,294
Reaction score
7
so if you look down and shoot without right click will it shoot down or still straight?
it will shoot straight, because you didn't aim on the ground. But anyway this one sucks bad because it ain't well-centered. Download ]OP[Crosshair.cs that's best of all.

Please fix the crash which comes while deactivating it after we die
It doesn't crash in my pc, i don't know what's the problem of yours.
 

shmiqq

Active member
Joined
Jul 23, 2013
Messages
39
Reaction score
0
[quote author="shmiqq"]so if you look down and shoot without right click will it shoot down or still straight?
it will shoot straight, because you didn't aim on the ground. But anyway this one sucks bad because it ain't well-centered. Download ]OP[Crosshair.cs that's best of all.

Please fix the crash which comes while deactivating it after we die
It doesn't crash in my pc, i don't know what's the problem of yours.[/quote]

Does OP Crosshair shoot where the auto Crosshair aims, so we don't have to manual aim? :eek: :eek::eek:
 
Status
Not open for further replies.
Top