Skip to content

Commit

Permalink
refactor(server): function annotations (#61)
Browse files Browse the repository at this point in the history
  • Loading branch information
Manason committed May 11, 2023
1 parent 2f2e08e commit f036634
Show file tree
Hide file tree
Showing 3 changed files with 138 additions and 70 deletions.
1 change: 1 addition & 0 deletions config.lua
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ QBConfig.StatusInterval = 5 -- how often to check hunger/thirst status in minute

QBConfig.Money = {}

---@alias MoneyType 'cash' | 'bank' | 'crypto'
---@alias Money {cash: number, bank: number, crypto: number}
---@type Money
QBConfig.Money.MoneyTypes = { cash = 500, bank = 5000, crypto = 0 } -- type = startamount - Add or remove money types for your server (for ex. blackmoney = 0), remember once added it will not be removed from the database!
Expand Down
Loading

0 comments on commit f036634

Please sign in to comment.