Jump to content




[lua][question]HELP ASAP!


  • You cannot reply to this topic
1 reply to this topic

#1 predatorxil

  • Members
  • 19 posts

Posted 24 August 2012 - 02:38 AM

ok, so im trying to make a login program, i got it to work for one person, but i want multiple users, i heard one person say use a table, and im not sure of other ways. please help, this is for my server and i need it SOON. :D/>
THANKS

#2 Grim Reaper

  • Members
  • 503 posts
  • LocationSeattle, WA

Posted 24 August 2012 - 03:04 AM

That was my suggestion, thanks...

You should write multiple users into a file in such a fromat:
username1
password1
username2
password2
username3
password3
etc.

If you had your file setup like so:
PaymentOption
test
predatorxil
suerpcomp
You have two users with two separate passwords. Here's how you might write some code to get that information into a table.

Here is a short script I wrote that should accomplish what you need. Please give me credit if you use it.
Spoiler






2 user(s) are reading this topic

0 members, 2 guests, 0 anonymous users