pub fn set_console_allowed(pid: u16, state: bool)
Expand description
Set whether the console is allowed for a player.
This changes the console permission for that player in the server memory, but does not
by itself send a packet.
pid
The player ID.
state
The console permission state.
Returns void