[help!]weird error please help urgently || can anyone here help me i am begging rn

help
helpme
needhelp

#1

(I AM SPEAKING AS THE OWNER OF THE COMMUNITY!)

I am trying to make a cash and bank script but for some reason i cannot figure this out no matter what i try I have looked at over 60 different links and still an find this out please could someone tell me what I am doing wrong?

[I am trying to get the money of the the person that is joining the server]
SERVER FILE

AddEventHandler("playerConnecting", function()
  local player = source
  local playerName = GetPlayerName(player)
  local identifier = GetPlayerIdentifiers(player)[1]
	local query = MySQL.Async.fetchAll("SELECT cash, bank FROM users WHERE identifier = '"..identifier.."'",{['@identifier'] = identifier})
end)

error I keep getting
image


#2

Maybe some what relevant, use GHMatti’s SQL connector, since mysql-async has an issue where async operations still act like a synchronous one + more overhead.


#3

You might want to google for sql/rdbms syntax/introduction/guide. So you understand how it is used and how the syntax works.

Then you might land maybe somewhere here. No Idea if that tutorial is good.


#4

I updated my problem could you help me or ?