mirror of
https://github.com/darksaid98/overextended.github.io.git
synced 2026-12-02 14:38:50 +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,7 +9,7 @@ Returns the first column for a single row.
|
||||
-- Alias: MySQL.Async.fetchScalar
|
||||
|
||||
MySQL.scalar('SELECT firstname FROM users WHERE identifier = ?', {playerIdentifier}, function(firstname)
|
||||
print(firstname)
|
||||
print(firstname)
|
||||
end)
|
||||
```
|
||||
|
||||
@@ -19,8 +19,8 @@ end)
|
||||
-- Alias: MySQL.Sync.fetchScalar
|
||||
|
||||
CreateThread(function()
|
||||
local firstname = MySQL.scalar.await('SELECT firstname FROM users WHERE identifier = ?', {playerIdentifier})
|
||||
print(firstname)
|
||||
local firstname = MySQL.scalar.await('SELECT firstname FROM users WHERE identifier = ?', {playerIdentifier})
|
||||
print(firstname)
|
||||
end)
|
||||
```
|
||||
|
||||
|
||||
Reference in new issue
Block a user