I reinstalled FiveM, and it fixed the issue