aimbot_shot_t
Info
aimbot shot can only be retrieved via the AIMBOT_SHOOT callback in all examples below shot is the aimbot shot
local function on_aimbot_shoot(shot)
print("shot at", shot.player:get_player())
end
callbacks.add(e_callbacks.AIMBOT_SHOOT, on_antiaim)
Fields#
| Field | Description |
|---|---|
idint |
shot id |
playerentity_t |
player entity the aimbot shot at |
damageint |
the predicted damage the shot will hit for you |
hitchanceint |
the chance that the shot will hit, depending on spread |
safepointbool |
whether the final point was a safepoint |
hitboxe_hitboxes |
what hitbox the aimbot shot at |
hitgroupe_hitgroups |
hitgroup the aimbot shot at |
backtrack_ticksint |
how many ticks were backtracked |
extrapolated_ticksint |
how many ticks the aimbot extrapolated, -1 if not extrapolated |
shoot_posvec3_t |
world coordinates of where we shot from |
hitpoint_posvec3_t |
world coordinates of the point shot at |