[FREE] Login System - Website Registration System for FiveM


VIDEO PREVIEW

GITHUB


Features

  • Login panel after entering the server
  • Block the acces (can’t move)
  • Ask correct and match Login / Password
  • Can disconnect by button
  • Display Error or successful in notification
  • Register by simple php script in website

Features to add

  • Add a SkyCam so you dont Spawn with a random Ped while logging in

Installation

You need to do some Stuff to make it work!


General

DO NOT CHANGE THE NAME OF THE SCRIPT IF YOU DONT KNOW WHAT YOU ARE DOING!

NOTE: THE PASSWORD IS NOT ENCRYPTED! YOU CAN DO IT YOURSELF IF YOU WANT IT

No The PHP files are not a FiveM Script if you dont have a Webspace or Xampp on your Server this Script is useless!

  1. Insert the phplogin.sql into your FiveM Database!
  2. Place your Database data into all php files!

QBCore

We are going to start the Login script before Qb-Multicharacter because the UIs will overlap otherwise

  1. Go to QB-Multicharacter/main/main.lua and remove this

CreateThread(function() while true do Wait(0) if NetworkIsSessionStarted() then TriggerEvent('qb-multicharacter:client:chooseChar') return end end end)

  1. You are Done! Lol

ESX

Im Sorry but i didnt test it on ESX but ill will look into it asap!


INSTALLATION VIDEO

9 Likes

Great job, adding the “Forgot Password” feature would make it even better tho.

nice work bro

This looks great, I bet a lot of people would use this.

Amazing work bro

This doesn’t work at all with new QBcore. The server reads it but don’t run it