Visit the FiveM Portalarrow-up-right site.
Log in with your account credentials.
Locate the ID Card script in your Granted Assets section.
Download the script files from Portal.
Download the latest version of ox_lib from the official GitHub pagearrow-up-right.
Extract the ox_lib files to your resources folder.
ox_lib
resources
In your server.cfg, ensure that ox_lib starts before the ID Card script by adding the appropriate start lines (see next step for example).
server.cfg
Open the server.cfg file located in the root directory of your FiveM server.
Add the following lines to ensure the required resources start with your server:
ensure ox_lib ensure rm_stream ensure rm_idcard