Client build: 2372 (Canary)
Server build: 5562
Category: Weapon / player natives
Expectation
I expect IsPlayerFreeAiming to tell me if another player is aiming when I pass their player ID
Reality
IsPlayerFreeAiming always returns false when another player’s ID is passed
Repro Steps
Run the following code:
Citizen.CreateThread(function()
while true do
Citizen.Wait(0)
for _, player_id in pairs(GetActivePlayers()) do
if player_id ~= PlayerId() then
print('Player ID is free aiming?', player_id, IsPlayerFreeAiming(player_id))
end
end
end
end)
If something isn’t acted upon, it’s likely not acted upon because it’s relatively unimportant compared to risk/complexity or otherwise nobody had time or felt the need to do it.