Difference between revisions of "OnPlayerSpeak"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "===From the Scripting Manual=== ''procedure OnPlayerSpeak(ID: Byte; Text: string);'' '''NOTE: This event runs in a new thread! So using functions like''' '''Get...")
 
Line 13: Line 13:
 
   This procedure will be called every time a player speaks.
 
   This procedure will be called every time a player speaks.
  
==External Links==
+
==See also==
* [http://enesce.com/help/index.html?Events/OnPlayerSpeak.html Scripting Manual page for OnPlayerSpeak]
+
* [[OnPlayerCommand]]
  
 
[[Category:Server Scripting]][[Category:Server Scripting Events]]
 
[[Category:Server Scripting]][[Category:Server Scripting Events]]

Revision as of 04:00, 18 March 2013

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