2026/02/24 Update

Disable Cleric / Deity checks
Updated PRC8 includes
This commit is contained in:
Jaysyn904
2026-02-24 11:24:14 -05:00
parent d26c121342
commit 402e4f6733
56 changed files with 3583 additions and 572 deletions

View File

@@ -685,4 +685,17 @@ string SQLocalsPlayer_GetLastUpdated_UTC(object oPlayer, string sVarName, int nT
return SqlGetString(sql, 0);
else
return "";
}
}
// Returns the current Unix timestamp (seconds since 1970-01-01)
int GetCurrentUnixTimestamp()
{
sqlquery sql = SqlPrepareQueryObject(GetModule(),
"SELECT strftime('%s','now');");
if (SqlStep(sql))
return SqlGetInt(sql, 0);
else
return 0;
}