TGame.OnTCPMessage

From Soldat Community Wiki
Revision as of 12:22, 14 July 2015 by Leady (talk | contribs)
Jump to: navigation, search
property OnTCPCommand
 Access mode: RW
 Event handler type: TOnTCPCommandEvent
 Event handler declaration: 
   function (Ip: string; Port: Word; Text: string): boolean

Description

Event property called when a TCP admin sends a message to the server.
To disable the command used set the function's Result to TRUE.

Bug: (#590) [1.6.8b1] Setting Result to TRUE doesn't stop the command execution