Difference between revisions of "TGame.OnTCPMessage"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''property OnTCPMessage''''' Access mode: RW Event handler type: TOnTCPMessageEvent Event handler declaration: function ('''Ip''': string; '''Port''': Word;...")
(No difference)

Revision as of 17:08, 9 October 2014

property OnTCPMessage
 Access mode: RW
 Event handler type: TOnTCPMessageEvent
 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