AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   HL1 Servers (HLDS) (https://forums.alliedmods.net/forumdisplay.php?f=131)
-   -   write_byte Crosshair Question Help (https://forums.alliedmods.net/showthread.php?t=324826)

Godofwar 05-28-2020 12:30

write_byte Crosshair Question Help
 
I dont know if this thread is correct added here in the right forum.

Hello, i am trying to make the crosshair for the zombies bigger but i dont know how. I think this here is the code:

Code:

                message_begin(MSG_ONE, msg_hideweapon, _ , id)
                write_byte(HIDE_FLASH | HIDE_HP_HUD | HIDE_MONEY | HIDE_HUD)
                message_end()
               
                message_begin(MSG_ONE,get_user_msgid("Crosshair"),{0,0,0},id)
                write_byte(100)
                message_end()
        }
        else
        {
                message_begin(MSG_ONE, msg_hideweapon, _ , id)
                write_byte(100)
                message_end()
        }
       
        return PLUGIN_CONTINUE
}

https://funkyimg.com/i/35esx.jpg

DJEarthQuake 05-29-2020 23:32

Re: write_byte Crosshair Question Help
 
It only draws the crosshair if byte is 1 and not if 0.

https://wiki.alliedmods.net/Half-Lif...ents#Crosshair


All times are GMT -4. The time now is 22:58.

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