Difference between revisions of "TGame.OnAdminCommand"

From Soldat Community Wiki
Jump to: navigation, search
(new page)
(No difference)

Revision as of 16:53, 9 October 2014

property OnAdminCommand
 Access mode: RW
 Event handler type: TOnAdminCommandEvent
 Event handler declaration: 
   function (Player: TActivePlayer; Command: string): boolean

Description

Event property called when an ingame admin enters a command.
To disable the command used set the function's Result to TRUE.