AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Disable Zoom crosshair (https://forums.alliedmods.net/showthread.php?t=250246)

avril-lavigne 10-20-2014 14:55

Disable Zoom crosshair
 
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 )?

RateX 10-20-2014 22:52

Re: Disable Zoom crosshair
 
https://wiki.alliedmods.net/Half-lif...nts#HideWeapon

NiHiLaNTh 10-21-2014 03:36

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

avril-lavigne 10-21-2014 06:58

Re: Disable Zoom crosshair
 
small cross

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


this works

avril-lavigne 10-21-2014 11:11

Re: Disable Zoom crosshair
 
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

jimaway 10-21-2014 19:57

Re: Disable Zoom crosshair
 
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


All times are GMT -4. The time now is 17:33.

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