UScript for Unturned Code Samples

From Free Knowledge Base- The DUCK Project: information for everyone
Revision as of 15:05, 9 January 2025 by Admin (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

SQL Related

populate an arrow with records from SQL table

vRecords = database.allRows("SELECT * FROM uconomy ORDER BY balance DESC LIMIT " + n);

prevent error from comparisons when array is empty because SQL record is missing or null

if (vPlayerName.count == 0) {