Skip to content

Updating ​

An update replaces the script and keeps everything you set up. What you configured lives in two places the update never needs to touch: your config.lua and the datos/ folder. Your photos are in a separate resource.

What to keep ​

KeepWhy
zaiders_appearance/shared/config.luaYour options. A new version's options work even if your file doesn't have them: they take their defaults, and the console names them on start.
zaiders_appearance/datos/Everything you saved in the admin panel: shops, prices, stock, theme, peds.
zaiders_fotos/ (the whole folder)Your catalog photos. Don't replace it.
Your edited language files, if anyAn update brings new language files. Put your changed lines back afterwards.

Steps ​

  1. Download the new version

    From portal.cfx.re → Granted assets, with the account that owns it.

  2. Make a backup

    Copy your current zaiders_appearance folder somewhere safe, or at least shared/config.lua and datos/.

  3. Replace the script

    Stop the server, or at least the resource. Replace the zaiders_appearance folder with the new one, then put back your shared/config.lua and your datos/ folder.

  4. Leave zaiders_fotos alone

    Don't replace that folder: it holds your photos. The package's zaiders_fotos has no photo list, so copying it over wouldn't erase the list, but there's no reason to. Replace only its fxmanifest.lua when the update notes say so.

  5. Run the SQL file if it changed

    Appearancez.sql only creates tables that don't exist yet, so running it again is safe. The resource also creates missing tables on its own.

  6. Start and read the console

    The console lists the options your config.lua doesn't have yet and the values it fixed. Copy the new options from the new version's config.lua if you want to change them. See How the config is checked.

Changing clothing packs ​

Adding, removing or repacking a clothing pack isn't an update of the script, but it changes the garment numbers:

  • Restart the whole server, not a single pack. FiveM numbers the clothing in start order, so restarting one pack while the server runs gives the players who join afterwards different garment numbers.
  • Join once with an admin afterwards. The admin's game tells the server which garment is behind each number again.
  • Take the photos of that pack again if it was repacked. The panel's Clothing packs section shows which collections have photos. See Catalog photos.

Support for Zaiders Store FiveM clothing packs and scripts.