Jump to content

what's wrong?


daKillar2000

Recommended Posts

ok ok...

now he give this warnings

WARNING: login\script.lua:20: Bad argument @ 'addAccount'

WARNING: login\script.lua:21: Bad argument @ 'logIn

  
line 20:    account = addAccount(player, username, password) 
line 21:     if (logIn(player, account, password) == true) then 
  

this is becuase addAccount if i'm right dosn't require that "player" argument.

Link to comment
WARNING: login\script.lua:21: Bad argument @ 'logIn'

WARNING: login\script.lua:5: Bad argument @ 'logIn'

line5: if (logIn(account,username,password) == true) then

line21: if (logIn(account,username,password) == true) then

i think that "account" argument its wrong, here is how i have it at one of my scripts.

if (logIn (player, account, pass) == true) then

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...