Main config

Here you can find explanation of settings in config.lua

Language

To change the language, go to config.lua and change value Locale to any of the available languages listed on the same row.

To add your own language, go to rcore_clothing\locales, copy en.lua and translate the values inside. Name the new file to your country code (e.g. fr.lua for French), save it and change it in config. Don't forget to change the Locale['en'] to your country code in the new file. (e.g. Locale['fr'] for French)

Clothing Shops

Here you can specify which shops will be avaiable for players to buy clothes from.

  • label - name of the shop

  • type

    • type of the shop (binco, suburban, ponsonbys, ammunation, vangelico, barber, beach_masks or any new shop you want to create)

    • All shops under one type will share the same availabl clothing

    • blip - blip (map icon) settings for the shop

    • pos - position of the shop (x,y,z,heading)

    • config - configuration of the shop to enable/disable certain features more in Shop Configs

Example shop:

{
    label = 'BINCO',
    type = 'binco',
    blip = { title = "Second Hand", colour = 39, id = 73 },
    pos = vector4(75.61, -1399.3, 28.41, 0.5),
    config = SHOP_CONFIG_ALIAS.CLOTHING,
},

Job Changing Rooms

Same as shops, but used for players to change clothes for their job.

Example job changing room:

{
    label = 'Changing Room',
    type = 'job_police',
    pos = vector3(455.29, -991.16, 29.72),
    jobs = { 'police' },
},

Player changing room

Place these into player homes or other places where players can change clothes. You need to only specify the position.

Example:

{ pos = vec4(-159.20, -308.86, 39.0, 23.0) },

Other

  • EveryShopHasEverything

    • Every shop will have every clothing available (no categorizing to binco, suburban, ponson etc.)

  • CharCreatorHasEverything

    • Players will be able to choose any clothes in char creator

  • ClothingAceRestrictionOptions

    • If you want to restrict clothing to ACE groups, you need to specify the groups here

  • Checkpoint

    • Shop marker settings if you are not using target script

❗ DANGER ZONE

Do not change anything in the danger zone unless you know what you are doing.

In here you will be able to force set framework and database stuff. This is automatically done for you if you do not touch this part.

Last updated