Home Blog CS:GO

Constants

Size

Sizes 0 to 7 are special fonts, see Font for more information.
Sizes 8 to 48 are the default font with different sizes.

Font

A font identifier is a number.

For ids between 0 and 6 check this table:

Id Description
0 Default CS:GO font (depends on CS:GO language)
1 Bold font
2 Small font
3 Small & bold font
4 Big font
5 Icons
6 Small icons

Font ids between 7 and 48 are the default font but with different sizes (even numbers only, odd numbers are invisible).

Using Render.AddFont or Render.FindFont returns a new unique font id.

Hitbox

A hitbox is a number and is primarily used by events.

Id Description
0 Generic
1 Head
2 Chest
3 Stomach
4 Left Arm
5 Right Arm
6 Left Leg
7 Right Leg
8 Neck

Note: There's also hitbox 10 called "gear" which "alerts NPC, but doesn't do damage or bleed (1/100th damage)"
No idea what it does, and you probably will never have to deal with it using onetap, so I decided to leave it out.

Bone

A bone is a number.

Id Description
0 Head
1 Neck (unused)
2 Pelvis
3 Body
4 Thorax
5 Chest
6 Upper chest
7 Left thigh
8 Right thigh
9 Left calf
10 Right calf
11 Left foot
12 Right foot
13 Left hand
14 Right hand
15 Left upper arm
16 Left forearm
17 Right upper arm
18 Right forearm