[BETA] Radar and Sonar for Aircraft & Boats

Not Working for me … Not Detecting. Did someone get a Fixed Version?

I know this is old as hell but the resource is great and I found a solution to the “Not Detecting” problem.

All you need to do is fix the ‘getPedsInSession’ function:

function getPedsInSession(includeSelf)
	includeSelf = includeSelf or false
	local peds, myPed, pool = {}, GetPlayerPed(-1), GetGamePool('CPed')

	for i=1, #pool do
        if includeSelf or (pool[i] ~= myPed) then
            table.insert(peds, pool[i])
        end
    end

	return peds
end

I just took this function from ESX and it works flawlessly.

Cheers

1 Like

thank you. love you for that

1 Like

nice work bro

is there anyone that can continue work with this script ?

I kinda did. I will maybe post a fork when I am done!

thank youu so much bro :heart_eyes: :heart_eyes: :heart_eyes:

I had an idea of dev to create with this script but I did not have time so if you can and want to do it here it is:

Make sure that long range missiles like the skyline ones which are aim7 or aim54 can’t be fired if you don’t lock a radar target. Once locked the gta5 missile will lock that target.

If it is an aim7 and you unlock the missile it will explode in flight. Otherwise with an aim54 it continues to lock.

If you want we can work together on it, I don’t mind.

woooow nice idea bro

Radar not working for me. Not showing any other aircraft, even when I added the code someone sent.

hi how is going on ?

hi bro how is going work ?

Hey, I kinda paused development on the radar but you can add me on discord (niclasss) and we can talk about it.

1 Like

nice bro
send me full name with tag

I don‘t have a tag anymore. „niclasss“ is the correct username!

1 Like

i send it

For those who are still interested in this script: I posted the little work I did on the resource. I will try to implement the features from the wish list, that Ino had originally planned, to honor his work.

Niclassslua/InoTechRadar: Rework of the Great InoTechRadar “Radar and Sonar for Aircraft & Boats” Script

1 Like

nice work bro

Hi, there are some function to use a ground radar?? It didn’t works…

1 Like

Please open an issue on github