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 (Client) #3502

Open Nico8340 opened 1 week ago

Nico8340 commented 1 week ago

Description

This pull request creates a new client-side function called getPlayerScriptDebugLevel to be a counterpart to the server-side version. The function can only query the local player's script debug level for safety reasons. Closes #3501

Syntax

int getPlayerScriptDebugLevel()