Closed LeonMrBonnie closed 3 years ago
Suggestion
Add a new method to the SDK to get the current value of the profiler option in the server.cfg.
profiler
server.cfg
Use cases
Can be used in e.g. the JS module to disable performance warnings.
Describe the solution you'd like
bool alt::ICore::IsProfilerEnabled
Describe alternatives you've considered
Manually reading and parsing the server.cfg to read the value manually.
Additional context
n/a
See #197
Suggestion
Add a new method to the SDK to get the current value of the
profiler
option in theserver.cfg
.Use cases
Can be used in e.g. the JS module to disable performance warnings.
Describe the solution you'd like
bool alt::ICore::IsProfilerEnabled
Describe alternatives you've considered
Manually reading and parsing the
server.cfg
to read the value manually.Additional context
n/a