Do not use these scripts if you are not comfortable with development. If you have some issues with code, ask the community on the official FiveM's topic.
- Import
outfits.sql
to your database - Include this code somewhere you init first player connection
- Copy and paste
skincreator
folder toresources
- Add
start skincreator
to yourserver.cfg
file
This function will add user to the outfits SQL's table. This code must be included somewhere you init player (something like isFirstConnection function). It's server-side function.
MySQL.Async.execute("INSERT INTO outfits (idSteam) VALUES ('[SteamID of user or anything ID you use to identify unique player]')")
ui/script.js
JS for NUI elementsui/front.js
JS for HTML interactionui/styles.scss
use this to edit CSS if you are comfortable with CSS pre-processor (must be compiled)
Nicolas Marx (alias Naiko) is the only owner of these scripts. You are free to use and edit the source code as you want for personal or commercial use.