Can someone please help me

I can’t seem to fix it, maybe someone can help me.


I gess missing

`

end

`

at line 53

2 Likes

this is correct lol it is missing end

conditionals must have an end

like this


because if i do like the picture i still get the same error

screenshot the error you get ?

main.lua (6.8 KB)

maybe someone can fix it here is the line

what error are you getting in the console ?

main.lua (6.8 KB)
try that

You are missing two end to close out the functions and you CANNOT have two else’s. You can have an elseif and only ONE else.

RegisterNetEvent('esx_holdupbanco:currentlyRobbing')
AddEventHandler('esx_holdupbanco:currentlyRobbing', function(currentBanco)
	if Config.utkFingerPrint then
		ESX.TriggerServerCallback('esx_holdupbanco:hackerDevice', function(gotDevice)
			if gotDevice then
				TriggerEvent("utk_fingerprint:Start", 4, 2, 2, FingerPrintCallback)
			else
				TriggerEvent("mhacking:show")
				TriggerEvent("mhacking:start",4,30,hackingEvent)
			end
		end
	end
end)

i did what you said but now i get this error

Do as it says, add a ) at line 52.

RegisterNetEvent('esx_holdupbanco:currentlyRobbing')
AddEventHandler('esx_holdupbanco:currentlyRobbing', function(currentBanco)
	if Config.utkFingerPrint then
		ESX.TriggerServerCallback('esx_holdupbanco:hackerDevice', function(gotDevice)
			if gotDevice then
				TriggerEvent("utk_fingerprint:Start", 4, 2, 2, FingerPrintCallback)
			else
				TriggerEvent("mhacking:show")
				TriggerEvent("mhacking:start",4,30,hackingEvent)
			end
		end)
	end
end)

i did it and now i get this


main.lua (6.7 KB)

That error is something else.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.