multitheftauto / mtasa-blue

Multi Theft Auto is a game engine that incorporates an extendable network play element into a proprietary commercial single-player game.
https://multitheftauto.com
GNU General Public License v3.0
1.3k stars 412 forks source link

getPlayerScriptDebugLevel at client-side #3501

Open srslyyyy opened 1 week ago

srslyyyy commented 1 week ago

Is your feature request related to a problem? Please describe.

As in title, however it should be restricted to localPlayer only (to not reveal possible admin's appearance on server). It will also allow to fully resolve #3498

Describe the solution you'd like

int getPlayerScriptDebugLevel()

Returns local player debugscript level - only local player for security reasons.

Describe alternatives you've considered

No response

Additional context

No response

Security Policy

Nico8340 commented 1 week ago

I am working on it. If everything goes well, the pull request will arrive soon.