Yeah I tried deleting caches.xml, the cache folder and the cache of the server and none worked. In the end re downloading the FiveM client completely was the easiest fix. Thanks for your help @MrSkysphere and @Painwithin