Raised This Month: $ Target: $400
 0% 

Disable Zoom crosshair


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 10-20-2014 , 14:55   Disable Zoom crosshair
Reply With Quote #1

Hi, in custom zoom I use offset and I see AUG crosshair

set_pdata_int(id, m_iFOV, 45,5)

How to remove it ( crosshair )?
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 10-20-2014 , 22:52   Re: Disable Zoom crosshair
Reply With Quote #2

https://wiki.alliedmods.net/Half-lif...nts#HideWeapon
RateX is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 10-21-2014 , 03:36   Re: Disable Zoom crosshair
Reply With Quote #3

what crosshair? There are 2 types of crosshairs. First can be removed through HideWeapon, second (yellow, small, from spec mode) with Crosshair messages.
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
avril-lavigne
Banned
Join Date: Apr 2009
Old 10-21-2014 , 06:58   Re: Disable Zoom crosshair
Reply With Quote #4

small cross

https://forums.alliedmods.net/showthread.php?t=91842


this works
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 10-21-2014 , 11:11   Re: Disable Zoom crosshair
Reply With Quote #5

I Found bug,
when I use

PHP Code:
HideWeapon get_user_msgid("HideWeapon")
}

public 
CurWeapon(id
{

       
message_begin(MSG_ONE_UNRELIABLEHideWeapon_id)
       
write_byte(1<<6)
       
message_end()

And "HUD Costumiser" (with hidden ammo/clocks/crosshair etc)

All HUD become visible

How can I Hide All HUD + that small crosshair.
using both codes simultaneously makes hud visible again
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
jimaway
Heeeere's Jimmy!
Join Date: Jan 2009
Location: Estonia
Old 10-21-2014 , 19:57   Re: Disable Zoom crosshair
Reply With Quote #6

Code:
  1   (1<<0)  -  crosshair, ammo, weapons list
  2   (1<<1)  -  flashlight, +
  4   (1<<2)  -  ALL
  8   (1<<3)  -  radar, health, armor, +
 16   (1<<4)  -  timer, +
 32   (1<<5)  -  money, +
 64   (1<<6)  -  crosshair
128   (1<<7)  -  +
Code:
write_byte(1<<2)
should work

if you do this change, you can probably remove the "HUD Costumizer" plugin

Last edited by jimaway; 10-21-2014 at 19:58.
jimaway 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 17:33.


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