AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   can someone fix this plugin? pls help.. (https://forums.alliedmods.net/showthread.php?t=3876)

clarence 07-17-2004 15:15

can someone fix this plugin? pls help..
 
1 Attachment(s)
i download a extra_crosshair plugin.. it activates but the croshair is not in the middle.. screenshot

Burnzy 07-17-2004 15:16

please just post sumwhere once

clarence 07-17-2004 15:16

1 Attachment(s)
and here is the code please can someone fix it? like place the dot in the middle... tnx

DanRaZor 07-17-2004 16:51

Theres is no error in this plugin ...

set_hudmessage(99, 255, 107, -1.0, -1.0, 0, 6.0, 300.0, 0.1, 0.1, 10)

sets the message on center, but the "." shown is not a real dot
but a text, so the text is in the middle but is also right justified...

Try to replace
Code:
show_hudmessage(id, ".")
by
Code:
show_hudmessage(id, "<>")

I personnaly use this way to show players that spawn protection is on
on my server ( "><" -> protection on, "<>" -> protection off and disappears one sec. later ...)
and it appears really centered ...

the centered red sprite of zoomed awp is really in the middle betwen < and >

The trick is to use two characters instead of one and the center of the two characters is centered.

Use "<>" or "--" ...

:wink:

clarence 07-17-2004 20:58

can i ask you a favor? can you edit it? and upload it? pls pls pls... im not good in coding i just found this plugin... tnx

QwertyAccess 07-18-2004 00:18

you only have to change that just search for that line. it doesnt take a genius to figure that out.

clarence 07-18-2004 03:31

> of i change "." to "<>" the output will be "<>"?
>how come the dot "." (screenshot) is not in the middle?

DanRaZor 07-18-2004 10:40

Quote:

Originally Posted by clarence
> of i change "." to "<>" the output will be "<>"?

Just try and see ...

Quote:

Originally Posted by clarence
>how come the dot "." (screenshot) is not in the middle?

You cannot put a character in the middle of the screen, that's what i tried to explain ...

Poison_Jay 07-18-2004 11:03

or go get scripts that let u have crosshair

(dun blame me if valve bans you, they might take any script and consider it a hack)

llj143 07-24-2004 04:42

anyone can fix the plugin? the dot is not centered. :(


All times are GMT -4. The time now is 14:43.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.