INFORMATION
Basic script to disable the reticle when you aim in with any weapon (with the exception of snipers). Made this to add realism rather than being able to pop someone in the head with one bullet.
DOWNLOAD
https://github.com/ToastinYou/NoReticle/releases/tag/2.3.0
PREVIEW
https://www.youtube.com/watch?v=3MntCZipuoY
PERMISSIONS
To make the reticle visible:
add_ace group.admin Reticle allow
To make the reticle on the stun gun (taser) visible:
add_ace builtin.everyone ReticleStunGun allow
SOURCE CODE
https://github.com/ToastinYou/NoReticle
20 Likes
Eagle
2
YES!!! I have been waiting so long for someone to release a script like this. Good shit bro!
3 Likes
Surge
4
is there a way to make this check for hexid’s and if your hex id is in the list then it wont remove it.
As of right now this is not possible with NoReticle.
1 Like
Surge
6
is it not possible at all or just with how this is codded.
It would be possible if I implemented it, however I do not have much time to work on coding at the moment.
1 Like
working in vrp? (20 charac
Should be compatible with all frameworks/vanilla.
Setro
10
With ACE, yes.
I’m busy so I won’t bother testing this but it should work:
Citizen.CreateThread(function()
local isSniper = false
while true do
Citizen.Wait(0)
local ped = GetPlayerPed(-1)
local currentWeaponHash = GetSelectedPedWeapon(ped)
if currentWeaponHash == 100416529 then
isSniper = true
elseif currentWeaponHash == 205991906 then
isSniper = true
elseif currentWeaponHash == -952879014 then
isSniper = true
elseif currentWeaponHash == GetHashKey('WEAPON_HEAVYSNIPER_MK2') then
isSniper = true
else
isSniper = false
end
if not isSniper then
if not IsPlayerAceAllowed(source, 'reticle') then
HideHudComponentThisFrame(14)
end
end
end
end)
Grant the ‘reticle’ ACE permission to players whom you want to have reticles.
Add this to your server.cfg:
add_ace identifier.steam:SteamHexHere reticle allow
Or for all admins, for instance:
add_ace group.admin reticle allow
1 Like
oMarkez
11
He wrote that 2 months ago…
Setro
12
I don’t care. I’m still helping him. Fuck me, right?
oMarkez
13
Fuck you 
You are, but you’re also reviving a dead topic (:
Setro
14
@ToastinYou revived it 41 minutes ago, not me…
1 Like
Stop unnecessarily flaming my topic. He was simply being helpful to someone that requested something I cannot currently fulfill.
3 Likes
oMarkez
16
Yes, he was being helpful, but reviving 2 months old topics is not necessary, think, if everyone was commenting on 2-3 months old topics, then the forums would be flooded by old posts, and the newer posts would be drowned.
Setro
17
big friggin deal, get over it. once again i wasn’t even the one to revive this thread.
1 Like
How do i install for fiveM?
i installed it but it gives me couldn’t load error
It might be because its 4 months old… but idk.
1 Like
v2.0 has been released!
CHANGELOG
- Added use of ace permissions to allow certain groups to have a visible reticle.
- ALL snipers now have the proper HUD display (reticle is not disabled on snipers).
- (Probably) performance improvement.
DOWNLOAD
https://github.com/ToastinYou/NoReticle/releases/tag/2.0
SOURCE CODE
https://github.com/ToastinYou/NoReticle