TActivePlayer.OnCommand

property OnCommand Access mode: RW Event handler type: TOnCommandEvent Event handler declaration: function (Player: TActivePlayer; Command: string): Boolean

Description
Event property called whenever a player uses a command. If the result is set to TRUE, the default command effect (like /kill) will be ignored

Example
Example disables /kill, /brutalkill and /mercy commands