TGame.OnTCPMessage

From Soldat Community Wiki
Revision as of 18:08, 9 October 2014 by Mighty (talk | contribs) (Created page with " '''''property OnTCPMessage''''' Access mode: RW Event handler type: TOnTCPMessageEvent Event handler declaration: function ('''Ip''': string; '''Port''': Word;...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
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