Garry's Mod Wiki

Garry's Mod Wiki

  boolean IsConCommandBlocked( string name )

Description

Determines whether or not the provided console command will be blocked if it's ran through Lua functions, such as RunConsoleCommand or Player:ConCommand.

For more info on blocked console commands, check out Blocked ConCommands.

This is used internally - although you're able to use it you probably shouldn't.

Arguments

1 string name
The console command to test.

Returns

1 boolean
Whether the command will be blocked.

This site is a community mirror of the official Garry's Mod wiki.. This site is not maintained by Facepunch Studios.

Page content is automatically updated four times a day. Edits and history are not available.

Last Parsed: Loading...