⚙️Configuration
Configuration guide of Multicharacter Script.
Multicharacter Script Configuration
This section provides a detailed explanation of the configuration options available for the Multicharacter script. You can customize these settings in the cfg.lua file to tailor the script to your server's needs.
1. Debug Mode
Enables or disables debug mode. This is useful for testing purposes.
cfg.debug = false -- Set to true to enable debug mode2. Ped and Camera Coordinates
These settings define the initial position and orientation of the character ped and camera during character creation.
cfg.pedCoords = vec4(160.3552, -1071.0789, 29.4180, 176.0819)
cfg.pedCamCoords = vec4(157.3552, -1071.0789, 29.4180, 360.0)
cfg.cameraFov = 45.0 -- Field of View for the camera
cfg.firstSpawn = vec4(147.3672, -1094.5345, 29.8439, 358.2464)3. Manual Shutdown
If enabled, the script will require manual shutdown. This can be useful for preventing unexpected closures.
cfg.manualShutdown = true -- Set to true to enable manual shutdown4. Character Slots
Defines the default number of free character slots available to players and whether characters can be deleted.
5. Starter Items
Determines whether players receive starter items when creating a new character and what those items are.
6. Prefix for ESX
Specifies the prefix used for ESX-related functionality. If you're not using ESX, you can leave this part untouched.
7. Social Media Links
Allows you to add social media links that players can access within the script. Icons for these links can be customized.
8. Admin Settings
Lists the admins who can create new codes for character slots and the command used to create these codes.
9. Character Models
Specifies the default models used for male and female characters.
10. Default Clothing
Defines the default clothing and appearance settings for new characters. Separate settings are provided for male ("m") and female ("f") characters.
11. Localization
Determines the language used for in-game text and messages. The script supports multiple languages, and you can add or customize language files.
Last updated