if bankMenu then
Citizen.CreateThread(function()
while true do
Wait(0)
if nearBank() or nearATM() then
DisplayHelpText("Press ~INPUT_PICKUP~ to open bank~b~")
if IsControlJustPressed(1, 38) then
openUI()
end
end
if IsControlJustPressed(1, 322) then
closeUI()
end
end
end)
end
function DisplayHelpText(str)
SetTextComponentFormat("STRING")
AddTextComponentString(str)
DisplayHelpTextFromStringLabel(0, 0, 1, -1)
end
Esx has 3 major versions.
1.1 - With Essentialmode
1.2 / v1 FInal - Without Essentialmode
2.0
This script can be used with 1.1 and 1.2
Talking about the errors, if u use esx 1.1 and try to use any script JUST for 1.2 with won’t work, you have to adapt it!