2025-07-26 08:55:30 +02:00
|
|
|
--HELLO
|
|
|
|
Citizen.CreateThread(function()
|
|
|
|
while true do
|
|
|
|
Citizen.Wait(500)
|
|
|
|
local get_ped = PlayerPedId()
|
|
|
|
local get_ped_veh = GetVehiclePedIsIn(get_ped, false)
|
|
|
|
|
|
|
|
if (IsPlayerFreeAiming(PlayerId())) then
|
|
|
|
SendNUIMessage("xhairShow")
|
|
|
|
elseif not (IsPlayerFreeAiming(PlayerId())) then
|
|
|
|
SendNUIMessage("xhairHide")
|
|
|
|
end
|
|
|
|
end
|
2025-06-07 08:51:21 +02:00
|
|
|
end)
|