mirror of
https://github.com/esx-framework/esx_core.git
synced 2026-08-29 17:28:53 +00:00
Fix spacing
This commit is contained in:
+2
-2
@@ -22,7 +22,7 @@ AddEventHandler("playerConnecting", function(name, setKickReason, deferrals)
|
||||
Citizen.Wait(0)
|
||||
|
||||
if identifier then
|
||||
MySQL.Async.fetchAll('SELECT firstname, lastname, dateofbirth, sex, height FROM `users` WHERE `identifier` = @identifier', {
|
||||
MySQL.Async.fetchAll('SELECT firstname, lastname, dateofbirth, sex, height FROM users WHERE identifier = @identifier', {
|
||||
['@identifier'] = identifier
|
||||
}, function(result)
|
||||
if result[1] then
|
||||
@@ -204,7 +204,7 @@ function checkDate(str)
|
||||
end
|
||||
|
||||
function SetIdentity(identifier, firstName, lastName, dateOfBirth, sex, height)
|
||||
MySQL.Async.execute('UPDATE `users` SET firstname = @firstname, lastname = @lastname, dateofbirth = @dateofbirth, sex = @sex, height = @height WHERE identifier = @identifier', {
|
||||
MySQL.Async.execute('UPDATE users SET firstname = @firstname, lastname = @lastname, dateofbirth = @dateofbirth, sex = @sex, height = @height WHERE identifier = @identifier', {
|
||||
['@identifier'] = identifier,
|
||||
['@firstname'] = firstName,
|
||||
['@lastname'] = lastName,
|
||||
|
||||
Reference in New Issue
Block a user