mirror of
https://github.com/ND-Framework/ND_Core.git
synced 2026-12-02 23:34:45 +00:00
Update main.lua
This commit is contained in:
1 parent
136bd60185
commit
c7cc06532c
1 file changed
+2
-1
@@ -122,9 +122,10 @@ AddEventHandler("newCharacter", function(newCharacter)
|
||||
local departmentCheck = validateDepartment(player, newCharacter.department)
|
||||
if not departmentCheck then return end
|
||||
|
||||
if config.enableMoneySystem then
|
||||
local startingCash = newCharacter.startingCash
|
||||
local startingBank = newCharacter.startingBank
|
||||
print(startingCash)
|
||||
if config.enableMoneySystem then
|
||||
-- Don't trust the client, validate maximum amounts.
|
||||
local moneyCheck = validateMoney(startingCash, startingBank)
|
||||
|
||||
|
||||
Reference in new issue
Block a user