Login Script


#1

Does anyone have a simple working login script? I need it for my server.


#2

Take a look at kanersps’s Freeroam Gamemode. Click here


#3

I tried it but i always get error, “Can not call nill value”


#4

I was hoping if someone has got only login script. I’m not that much in coding. Any other help???


#5

You have connected to your Mysql Database ?


#6

No, how I am supposed to do that???


#7

Do you know how to connect to that “MYSQL Database”


#8

Do you now how to install and setup Xampp ?
i will skip it …

If Xampp ist started and Apache and Mysql is on then go to localhost/phpmyadmin -> login and create a Database then import the “db.sql” file.

Then go into “\freeroam\freeroam\server\player” and open the register.lua

Take a look on Line 5 that calls

MySQL:open(“127.0.0.1”, “gta5_gamemode_freeroam”, “root”, “1202”)

replace it with

MySQL:open(“localhost”, “YOUR_DATABASE_NAME”, “DATABASE_USERNAME”, “YOUR_PASSWORD”)


#9

i googled xampp now im downloading it but there is only 32 bit version for windows will that matter?


#10

No Problem