I have this screenshot:
And use this code for collect bullet hits coordinates (X/Y):
PHP Code:
public fw_TraceAttack(victim, attacker, Float:damage, Float:direction[3], tr, damage_type)
{
new Float:endPos[3];
get_tr2(tr, TR_vecEndPos, endPos);
client_print(0, print_console, "%f %f", endPos[1], endPos[2]);
}
After I add dots on screenshot by this coordinates:
It's okay, but I want add dot of crosshair (actually pev_v_angles look at 0 0 coordinates, but I want draw pev_punchangle). I change code on this:
PHP Code:
public fw_TraceAttack(victim, attacker, Float:damage, Float:direction[3], tr, damage_type)
{
new Float:rvec[3];
pev(attacker, pev_punchangle, rvec);
client_print(0, print_console, "%f %f", rvec[0], rvec[1]);
}
Collect coordinates, and got:

Why punch coordinates so small?
If I multiply coordinates on 12, this seems better:

But why 12? How I can calculate correct multiply value for punch?