Difference between revisions of "UScript for Unturned Code Samples"

From Free Knowledge Base- The DUCK Project: information for everyone
Jump to: navigation, search
(Created page with "== SQL Related == === populate an arrow with records from SQL table === vRecords = database.allRows("SELECT * FROM uconomy ORDER BY balance DESC LIMIT " + n); === prevent er...")
(No difference)

Revision as of 15:05, 9 January 2025

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) {