Crosshair pois (Snipuissa näkyy crosshair) By "AxU"

Masi

Ylläpito
Ylläpitäjä
Moderator
Vanhempi jäsen
Wiki
13 Huhtikuu 2019
938
173
43
Lua:
Citizen.CreateThread(function()
    while true do
        Citizen.Wait(0)

        local pelaaja = GetPlayerPed(-1)
        local pyssy = GetSelectedPedWeapon(pelaaja)
        
        if pyssy and not (pyssy == GetHashKey("weapon_sniperrifle") or pyssy == GetHashKey("weapon_heavysniper") or pyssy == GetHashKey("weapon_heavysniper_mk2") or pyssy == GetHashKey("weapon_marksmanrifle") or pyssy == GetHashKey("weapon_marksmanrifle_mk2")) then
            HideHudComponentThisFrame(14)
        end
    end
end)