Raised This Month: $ Target: $400
 0% 

Disabling Crosshairs


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 11-07-2005 , 09:28   Disabling Crosshairs
Reply With Quote #1

Can disable crosshair? If so how?
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
haimmaik
Senior Member
Join Date: Jul 2005
Old 11-07-2005 , 11:18  
Reply With Quote #2

hmm try removing the sprite? Oo
haimmaik is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-07-2005 , 15:29  
Reply With Quote #3

No, crosshairs are client side.

If you're really desperate you could try sending the CurWeapon as the game would, but instead of using the player's current weapon id use the knife weapon id, which will cause the client to think he has a knife, and that won't draw the crosshair. However, this will probably cause a lot of other client side glitches.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 11-07-2005 , 17:03  
Reply With Quote #4

nice idea, thnx i will try it
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
Batman/Gorlag
Senior Member
Join Date: Aug 2005
Old 11-07-2005 , 17:09  
Reply With Quote #5

Actually if you have a knife your crosshair would still show =\. Use any sniper weapon as the weapon id. Crosshair would not show at all.
__________________
GRR If only the amxmod programming were in Java.....
Java and C used to be two different languages, now Java is turning into another C. My logevent plugin
Batman/Gorlag is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 11-07-2005 , 17:12  
Reply With Quote #6

Edit:
Sorry I wanna cut time short, how do you get the user make him think he has a c4?

@Batman/Gorlag
Maybe the glitch would be you can zoom. My best bet is on the c4, disabling plant using a cstrike function (forgot).
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
XxAvalanchexX
Veteran Member
Join Date: Oct 2004
Location: abort73.com
Old 11-07-2005 , 17:53  
Reply With Quote #7

Zooming and planting is server side, this is only to trick the client into thinking he has a different weapon, and thus not display a crosshair. I'm not sure exactly how the CurWeapon event is supposed to be sent, though.
__________________
No longer around. Thanks your support, everyone! As always:
THIS ONES FOR YOU
3000 PTS
XxAvalanchexX is offline
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 11-07-2005 , 18:32  
Reply With Quote #8

thnx for the info XxAvalanchexX
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
mordi
Senior Member
Join Date: Jul 2007
Location: o rly?
Old 08-05-2007 , 13:07   Re: Disabling Crosshairs
Reply With Quote #9

Cheap_Suit, can you make a plugin for this?
__________________
Quote:
Originally Posted by Alka View Post
engine ?! 0o... *barf*
mordi is offline
mogel
Senior Member
Join Date: Jan 2007
Old 08-05-2007 , 14:04   Re: Disabling Crosshairs
Reply With Quote #10

Hi,

Code:
public Player_Crosshair(player) {
    message_begin(MSG_ONE, get_user_msgid("HideWeapon"), {0, 0, 0}, player)
    write_byte(64 + 32) // kill Crosshair
    message_end()
}
hand, mogel
__________________
mogel is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 23:39.


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