Skip to content

Commit

Permalink
fix(client): carlock bug
Browse files Browse the repository at this point in the history
  • Loading branch information
renzuzu committed Aug 9, 2021
1 parent 26d8ddc commit 7fa5219
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions renzu_hud/client/function.lua
Original file line number Diff line number Diff line change
Expand Up @@ -123,6 +123,7 @@ function Hud:UpdateStatus(export,vitals)
['stress'] = stress -- this should be registered at config
}
self.vitals = vitals
--print("GAGO",vitals,vitals.hunger,vitals.thirst,vitals.stress)
end
end)
end
Expand Down Expand Up @@ -3206,6 +3207,12 @@ function Hud:Carlock()
myidentifier = string.gsub(self.identifier, 'steam', '')
myidentifier = string.gsub(self.identifier, string.gsub(config.identifier,":",""), '')
myidentifier = string.gsub(myidentifier,":","")
myidentifier = string.gsub(myidentifier, 'Char5', '')
myidentifier = string.gsub(myidentifier, 'Char4', '')
myidentifier = string.gsub(myidentifier, 'Char3', '')
myidentifier = string.gsub(myidentifier, 'Char2', '')
myidentifier = string.gsub(myidentifier, 'Char1', '')
myidentifier = string.gsub(myidentifier, 'steam', '')
if self.veh_stats[self.plate] ~= nil and checkindentifier == myidentifier then
foundvehicle[self.plate] = {}
foundvehicle[self.plate].entity = v
Expand Down

0 comments on commit 7fa5219

Please sign in to comment.