Skip to content

tringuyenk19/skincreator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages