reloadSettings
exports["RiP-HudV2"]:reloadSettings(cb)
This function reloads the client players hud settings from the database
Arguments
Name | Type | Optional | Explenation |
---|---|---|---|
cb | Function | Yes | Callback function |
Example
exports["RiP-HudV2"]:reloadSettings(function(callback)
if callback then
print("current display status of speedometer: "..callback['speedo'])
end
end)