Difference between revisions of "OnPlayerSpeak"

From Soldat Community Wiki
Jump to: navigation, search
(removed thread note)
 
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:'''

Latest revision as of 10: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