OnPlayerSpeak

From Soldat Community Wiki
Revision as of 10:54, 15 August 2012 by Freeman (talk | contribs) (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...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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.

External Links