Skip to content

tringuyenk19/skincreator

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
ui
 
 
 
 
 
 
 
 
 
 
 
 

Character Creator

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.

How to install

  • Import outfits.sql to your database
  • Include this code somewhere you init first player connection
  • Copy and paste skincreator folder to resources
  • Add start skincreator to your server.cfg file

Code

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]')")

Files

  • ui/script.js JS for NUI elements
  • ui/front.js JS for HTML interaction
  • ui/styles.scss use this to edit CSS if you are comfortable with CSS pre-processor (must be compiled)

Credits & licence

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.

Other UIs

Dependencies