How to define/change default Prisoner outfits?
Overview
This guide will walk you through the process of customizing prisoner outfits.
Prisoner outfits were configured on server without any addon clothing!
Guide:
To adjust your prison outfits for your clothing script, follow the steps below:
Open the outfits file
Navigate to the directory where the outfits.lua file is located: rcore_prison/outfits.lua.
Open outfits.lua in a text editor of your choice.
Find your clothing resource
Inside the outfits.lua file, find the section that matches your supported clothing resource.
For example, if your server uses skinchanger, look for ['skinchanger'] in the file.
Customize the Values
Once you find your supported clothing resource, customize the values for each category as desired.
To understand the numbers better, refer to the clothing index here: RAGE MP Clothes: link
Note that you might need to find proper values on your server, especially if you have custom addon clothing that changes the default IDs.
Example Customization
Here's an example of how to customize the outfits for both male and female characters using the skinchanger resource.
Customize the Values
Save your changes in outfits.lua.
Restart your Prison script: Type these command in your server console (txAdmin - live console) - [refresh, ensure rcore_prison]
Test the customized outfits in-game to ensure they appear as expected.
By following these steps, you can easily customize prisoner outfits for your server. If you have any custom addon clothing, make sure to adjust the values accordingly.
Last updated