Skip to content

Coming from another clothing menu ​

Players keep their characters. ZAIDERS Appearance reads the looks your previous menu saved, in the same tables and formats, so nobody has to make their character again. Outfits and job uniforms come over with one console command, the tattoos (kept inside the saved looks, or in another tattoo resource's own table) come by themselves (or with one command), and the old menu's tables are never changed.

What happens to each thing ​

WhatWhat to do
Saved looks (playerskins, users.skin)Nothing. It reads illenium-appearance's, fivem-appearance's, qb-clothing's and esx_skin's formats as they are.
Players' outfits (illenium-appearance or qb-clothing, player_outfits)One console command (below).
Job and gang uniforms (illenium-appearance, management_outfits)One console command (below).
Tattoos kept inside the saved looks (illenium-appearance, fivem-appearance)Nothing, or one console command (below). Each character's come over by themselves the first time they enter, unless the tattoo resource below has a row for that character. On ESX with esx_skin, use the command.
Tattoos kept in another tattoo resource's own table (the first one in the factory Config.Tattoos.owners list)Stop that resource but keep its folder. Then nothing, or one console command (below): each character's come over by themselves the first time they enter. See Tattoos from another tattoo resource. If you keep using that resource for tattoos instead, ZAIDERS Appearance's tattoo shop turns itself off: see Tattoo shop.
Outfits already in ps_outfits / ps_job_outfitsNothing. They show up in the wardrobe as they are.
Scripts that call the old menu (multicharacter, housing, jobs)Nothing. While the old menu isn't running, this one answers its exports and events. See Frameworks & compatibility.

Moving over ​

  1. Back up your database

    Nothing is deleted, but a backup before any change to a live server is always worth it.

  2. Install ZAIDERS Appearance and stop the old menu

    Follow Installation. Remove the old menu's ensure, and leave its tables where they are. If you also used another tattoo resource, stop it and take it out of server.cfg too, but keep its folder until after step 6: its lists and its settings come from there.

  3. See what can be brought over

    In the server console:

    text
    zappearance_migrate

    It only reads. It says how many outfits, uniforms and tattoos it found, how many are new, and the command to bring each one. When the server starts and finds something to bring, the console also says so.

  4. Bring the outfits

    text
    zappearance_migrate outfits confirm

    It copies the players' outfits from illenium-appearance or qb-clothing (player_outfits) into ps_outfits.

  5. Bring the job uniforms

    text
    zappearance_migrate uniforms confirm

    It copies illenium-appearance's job and gang uniforms (management_outfits) into ps_job_outfits, with the grade each one is seen from. If a uniform had no minimum grade, every grade sees it, and the console says how many. Set the grade from the wardrobe. See Wardrobe & outfits.

  6. Bring the tattoos

    text
    zappearance_migrate tattoos confirm

    It saves in zaiders_tattoos the tattoos of the characters with none saved here yet: the ones another tattoo resource kept in its own table and, for a character it has no row for, the ones illenium-appearance or fivem-appearance kept inside the saved look, with their darkness as layers. Every design comes, even one that is out of stock or from a pack that isn't started now: it shows once its pack is there. Without the command they come anyway, each character's the first time they enter (Config.Tattoos.importFromLooks). On ESX with esx_skin the ones in the saved looks only come with the command, because any player can write users.skin through esx_skin:save: run it right after installing.

Safe to run again

The migration never changes or deletes the other menu's tables, and never brings the same thing twice. If it stops halfway (for example, the database went down), run the same command again and it picks up the rest.

Tattoos from another tattoo resource ​

The tattoos a tattoo resource kept in its own table come to this shop. It's the resource that comes first in the factory Config.Tattoos.owners list: its table and its folder are looked for by that name, even if you change the list.

  • Stop it, keep its folder. While it runs it still keeps the players' tattoos, so nothing is saved here and the command only counts. Take it out of server.cfg, keep its folder until after zappearance_migrate tattoos confirm (its lists and its settings come from there), and drop its table only after that.
  • What comes: each character's designs for their sex, in the order they got them, each with the layers that resource drew it with, up to the shop's maximum (Config.Tattoos.maxLayers). Every design comes, even one that is out of stock or from a pack that isn't started now: it shows once its pack is there. Temporary ones that already expired stay out; one that hasn't expired yet comes as a normal tattoo, since this shop has no temporary tattoos.
  • By themselves, or all at once: each character's come the first time they enter with no tattoos saved here. zappearance_migrate tattoos confirm brings everyone's at once, and a player online then gets them on at once.
  • Designs that can't go on yet (their pack not started and that resource's folder deleted, or the character's sex not known yet) are kept apart and added by themselves as soon as they can be, even if the player bought or took off other tattoos meanwhile.
  • Without a framework, a character's sex is never guessed: the server takes it from the player's ped once that ped has kept it for 30 seconds (it reads it every 5 seconds). A ped still on after 30 seconds outside this resource's menus, such as a default ped shown at spawn, can decide it, so your spawn script has to put the character's own ped on before that.
  • Rows kept by player, not by character (that resource's STANDALONE mode on a server with a framework): the command can't tell whose character each row is, so it brings none and says so. Each character's come by themselves when they enter, and every character of that player gets that list at its first entry, also ones created later. To stop that, rename or drop its table, or set Config.Tattoos.importFromLooks = false, once your players' characters have entered.
  • Nothing is overwritten: a character who already has tattoos saved here, or chose to have none, is never touched, and a tattoo bought while the command runs is kept.
  • Config.Tattoos.importFromLooks = false leaves them all to the command. A design already kept apart is still added by itself as soon as it can be.

What the console says about them (the console speaks Config.Locale's language; here in English, the default):

MessageWhat it means
Tattoos from another tattoo resource (its own table): N characters with N designs, N with no tattoos here yet. To bring them: zappearance_migrate tattoos confirmWhat zappearance_migrate found.
Another tattoo resource (...) is still running and still keeps the players' tattoos: none are brought ...Stop it and take it out of server.cfg, then run the command again.
N rows of another tattoo resource do not say which character they belong to ...That resource kept them by player. They come as each character enters.
N tattoos from another tattoo resource cannot be put on yet (...)Kept apart, and added by themselves as soon as they can go on.
N tattoos from another tattoo resource are not brought: neither the game nor the started packs have that design for that sex (...)Those designs never come.
N temporary tattoos from another tattoo resource had already expired: they are not brought.Expected.

Faster wardrobes ​

If your ps_outfits or ps_job_outfits tables came from another resource without indexes, these make the wardrobe faster. Run each one once; skip one that says the index already exists:

sql
ALTER TABLE `ps_outfits` ADD INDEX `identifier` (`identifier`(64));
ALTER TABLE `ps_job_outfits` ADD INDEX `job` (`job`(50));

Support for Zaiders Store FiveM clothing packs and scripts.