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...")
 
(removed thread note)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 
===From the Scripting Manual===
 
===From the Scripting Manual===
 
   ''procedure OnPlayerSpeak(ID: Byte; Text: string);''
 
   ''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:'''
 
   '''Parameter Info:'''
Line 13: Line 9:
 
   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]]

Latest revision as of 09:52, 21 August 2013

From the Scripting Manual

 procedure OnPlayerSpeak(ID: Byte; Text: string);
 
 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