[Release] No Reticle / Reticle Disabler 1.0


#1

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/1.0

PREVIEW

https://www.youtube.com/watch?v=3MntCZipuoY

SOURCE CODE

https://github.com/ToastinYou/NoReticle

Come chat! https://discord.gg/bX7uJw5


[Release] Remove Weapon DOT/RETICLE on ADS
[Release] Forced First Person Camera When Aiming / Shooting
[Release] [Permissions] No Reticle
Remove crosshair?
Im look plugins
Need Help Getting NoCrosshair + Increased Non-DLC pistol fire rate mod working
#2

YES!!! I have been waiting so long for someone to release a script like this. Good shit bro!


#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.


#5

As of right now this is not possible with NoReticle.


#6

is it not possible at all or just with how this is codded.


#7

It would be possible if I implemented it, however I do not have much time to work on coding at the moment.


#8

working in vrp? (20 charac


#9

Should be compatible with all frameworks/vanilla.


#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

#11

He wrote that 2 months ago…


#12

I don’t care. I’m still helping him. Fuck me, right?


#13

Fuck you :slight_smile:

You are, but you’re also reviving a dead topic (:


#14

@ToastinYou revived it 41 minutes ago, not me…


#15

Stop unnecessarily flaming my topic. He was simply being helpful to someone that requested something I cannot currently fulfill.


#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.


#17

big friggin deal, get over it. once again i wasn’t even the one to revive this thread.


#18

How do i install for fiveM?