Once you finish uploading scripts to the resource folder of FiveM, you need to navigate it directly to the main game server. Unclog the cache folder and find out the file called server. You must now customize the custom script so that it functions properly - fivem market.