Money system
ghermans opened this issue · 1 comments
ghermans commented
As discussed on discord we need to create a money system so players can receive money after completing a job(mission) or spend cash in stores.
ghermans commented
Functions
Name | Description |
---|---|
Player:AddCash(source, value) | Add cash amount |
Player:AddBank(source, value) | Add bank amount |
Player:RemoveCash(source, value) | Remove a amount of cash |
Player:ClearCash(source) | Remove all cash money |
Player:ClearBank(source) | Remove all bank money |
Server events
Name | Description |
---|---|
vf_base:AddCash | Add cash amount |
vf_base:AddBank | Add bank amount |
vf_base:ClearCash | Remove all cash money |
vf_base:ClearBank | Remove all bank money |