TOnCommandEvent

From Soldat Community Wiki
Jump to: navigation, search

Description

Type used by TActivePlayer.OnCommand as an event handler type.

Declaration

procedure (Player: TActivePlayer; Command: string);
 Player: player trying to execute a command
 Command: player input, including "/" character