Skip to content

Commit

Permalink
PR #324 add depot price on restart if out
Browse files Browse the repository at this point in the history
  • Loading branch information
GhzGarage committed Jan 13, 2024
1 parent 157356e commit 39e2419
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions server/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ AddEventHandler('onResourceStart', function(resource)
Wait(100)
if Config['AutoRespawn'] then
MySQL.update('UPDATE player_vehicles SET state = 1 WHERE state = 0', {})
else
MySQL.update('UPDATE player_vehicles SET depotprice = 500 WHERE state = 0', {})
end
end
end)
Expand Down

0 comments on commit 39e2419

Please sign in to comment.