Security HUD
System Watchdog
×
Threads Scanned
-- / --
SYS. LOAD --%
AI SHIELD ACTIVE
DMCA Policy
×

📋 DMCA Compliance

This platform and community fully complies with the Digital Millennium Copyright Act (DMCA) and international copyright laws. We take all copyright protection seriously.

🛡️ Copyright Protection

If you believe a posted item belongs to you or violates your copyright, you may file a DMCA takedown request through our official channels. Upon receiving a valid claim, the infringing content will be removed within 24 hours.

What's new
×
Fiveguard

Guide Initial funds birth money number newcomer send money

哈德森

Gold Elite
Joined
Dec 16, 2021
Messages
224
Reaction score
205
Points
316
Location
China 中国大陆
revise:util.lua
data\resources\[essential]\essentialmode\server\util.lua

The code is as follows To modify the blue value at the position of about 11 lines to set the amount of money that the newcomer just registered to send

es_startingCash', '20000 cash
'es_startingBank', '0' bank
-- Licensed under: AGPLv3 --
-- GNU AFFERO GENERAL PUBLIC LICENSE --
-- Version 3, 19 November 2007 --

-- Global variables
Users = {}
commands = {}
settings = {}
settings.defaultSettings = {
['permissionDenied'] = GetConvar('es_permissionDenied', 'false'),
['startingCash'] = GetConvar('es_startingCash', '20000'),
['startingBank'] = GetConvar('es_startingBank', '0'),
['enableRankDecorators'] = GetConvar('es_enableRankDecorators', 'false'),
['moneyIcon'] = GetConvar('es_moneyIcon', '$'),
['nativeMoneySystem'] = GetConvar('es_nativeMoneySystem', '0'),
['commandDelimeter'] = GetConvar('es_commandDelimeter', '/'),
['enableLogging'] = GetConvar('es_enableLogging', 'false'),
['enableCustomData'] = GetConvar('es_enableCustomData', 'false'),
['defaultDatabase'] = GetConvar('es_defaultDatabase', '1'),
['disableCommandHandler'] = GetConvar('es_disableCommandHandler', 'false'),
['identifierUsed'] = GetConvar('es_identifierUsed', 'steam')
}
If the above method does not work you can try the following

In [ es_extended/server/main.lua ] (lines 202 to 212):
if #missingAccounts > 0 then

for i=1, #missingAccounts, 1 do

if(Config.AccountLabels[missingAccounts] == 'bank') then
table.insert(xPlayer.accounts, {
name = missingAccounts,
money = 500, --这是你的起始金额
label = Config.AccountLabels[missingAccounts]
})
else
table.insert(xPlayer.accounts, {
name = missingAccounts,
money = 0,
label = Config.AccountLabels[missingAccounts]
})
end

end

xPlayer.createAccounts(missingAccounts)
end
 
Top