alt.isConsoleOpen
Returns whether or not the F8
console is open for the client or not.
Returns a boolean
. (true / false)
Declaration
isConsoleOpen(): boolean
Usage
alt.isConsoleOpen();
Real World Example
const result = alt.isConsoleOpen();
alt.log(result);
These examples assume you have imported alt
from alt-client
.