OnPlayerSpeak

From Soldat Community Wiki
Revision as of 04:00, 18 March 2013 by Tehbugerz0r (talk | contribs)
Jump to: navigation, search

From the Scripting Manual

 procedure OnPlayerSpeak(ID: Byte; Text: string);
 
 NOTE: This event runs in a new thread! So using functions like
       GetURL or Sleep will not cause the Server to freeze while
       the function processes.
 
 Parameter Info:
  ID (Byte): Player ID of the person who just spoke.
  Text (String): Self Explanitory.
 
 Description:
  This procedure will be called every time a player speaks.

See also