Skip to content

Commit

Permalink
style(server): indentation 2
Browse files Browse the repository at this point in the history
  • Loading branch information
BerkieBb authored Jan 18, 2022
1 parent fec79f8 commit a7de1b4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,17 @@ local ResetStress = false
QBCore.Commands.Add('cash', 'Check Cash Balance', {}, false, function(source, args)
local Player = QBCore.Functions.GetPlayer(source)
local cashamount = Player.PlayerData.money.cash
TriggerClientEvent('hud:client:ShowAccounts', source, 'cash', cashamount)
TriggerClientEvent('hud:client:ShowAccounts', source, 'cash', cashamount)
end)

QBCore.Commands.Add('bank', 'Check Bank Balance', {}, false, function(source, args)
local Player = QBCore.Functions.GetPlayer(source)
local bankamount = Player.PlayerData.money.bank
TriggerClientEvent('hud:client:ShowAccounts', source, 'bank', bankamount)
TriggerClientEvent('hud:client:ShowAccounts', source, 'bank', bankamount)
end)

QBCore.Commands.Add("dev", "Enable/Disable developer Mode", {}, false, function(source, args)
TriggerClientEvent("qb-admin:client:ToggleDevmode", source)
TriggerClientEvent("qb-admin:client:ToggleDevmode", source)
end, 'admin')

RegisterNetEvent('hud:server:GainStress', function(amount)
Expand Down

0 comments on commit a7de1b4

Please sign in to comment.