mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-01 22:21:48 +00:00
Consistent indentation and remove some files
Mixing tabs and spaces when embedding Lua can easily break MDX syntax.
This commit is contained in:
1 parent
b87ef48d2e
commit
6bead3ca32
21 files changed
+146
-240
No files matched your search
@@ -9,9 +9,9 @@ Returns the number of affected rows by the query.
|
||||
-- Alias: MySQL.Async.execute
|
||||
|
||||
MySQL.update('UPDATE users SET firstname = ? WHERE identifier = ?', {newName, playerIdentifier}, function(affectedRows)
|
||||
if affectedRows then
|
||||
print(affectedRows)
|
||||
end
|
||||
if affectedRows then
|
||||
print(affectedRows)
|
||||
end
|
||||
end)
|
||||
```
|
||||
|
||||
@@ -21,10 +21,10 @@ end)
|
||||
-- Alias: MySQL.Sync.execute
|
||||
|
||||
CreateThread(function()
|
||||
local affectedRows = MySQL.update.await('UPDATE users SET firstname = ? WHERE identifier = ?', {newName, playerIdentifier})
|
||||
if affectedRows then
|
||||
print(affectedRows)
|
||||
end
|
||||
local affectedRows = MySQL.update.await('UPDATE users SET firstname = ? WHERE identifier = ?', {newName, playerIdentifier})
|
||||
if affectedRows then
|
||||
print(affectedRows)
|
||||
end
|
||||
end)
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user