Jump to content

MySQL - atempt to index local?


Rat32

Recommended Posts

Hello. I have a problem with this error?

vizuHyI.png

CODE:

function logujemy(yonsz, usernamel, passwordl) 
yonsz = exports.DB2:pobierzWyniki("SELECT * FROM ACCS WHERE acc=? AND password=?", usernamel, passwordl) 
if yonsz.acc and yonsz.password then 
outputChatBox("LOG!") 
else 
outputChatBox("UNLOG") 
end 
end 
addEventHandler("doLogin", getRootElement(), logujemy) 

What's the problem?

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...