Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function QuerySQL(usernameR,passwordR,email,serial)
- local query = "INSERT INTO accounts SET username='" .. usernameR .. "', password=MD5('" .. passwordR .. "'), email='" .. email .. "', serial='" .. serial .. "'"
- if (exports["MySQL"]:mysqlQuery(query)) then
- triggerClientEvent (source, "accountCreated", getRootElement())
- else
- triggerClientEvent (source, "AccountError", getRootElement())
- end
- end
Add Comment
Please, Sign In to add comment