aimbot_hit_t
Info
aimbot hit can only be retrieved via the AIMBOT_HIT callback in all examples below shot is the aimbot shot
local function on_aimbot_hit(shot)
print("shot at", shot.player:get_player())
end
callbacks.add(e_callbacks.AIMBOT_HIT, on_aimbot_hit)
Fields#
| Field | Description |
|---|---|
idint |
shot id |
playerentity_t |
player entity the shot hit |
damageint |
the damage the shot did |
safepointbool |
whether the final shot was safe |
backtrack_ticksint |
how many ticks were backtracked |
hitgroupe_hitgroups |
what hitgroup the shot hit |
aim_damageint |
the predicted damage that the aimbot thought this shot would do |
aim_hitchanceint |
the chance this shot would hit the target |
aim_safepointbool |
whether the aimbot shot was a safepoint |
aim_hitgroupe_hitgroups |
hitgroup aimed at |
aim_hitboxe_hitboxes |
hitbox aimed at |