OnPlayerCommand

From Soldat Community Wiki
Revision as of 11:39, 15 August 2012 by Freeman (talk | contribs) (Created page with "===From the Scripting Manual=== ''function OnPlayerCommand(ID: Byte; Text: string): boolean;'' '''Parameter Info:''' ID (Byte): Player ID of the player who typed the...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

From the Scripting Manual

 function OnPlayerCommand(ID: Byte; Text: string): boolean;
 
 Parameter Info:
  ID (Byte): Player ID of the player who typed the command.
  Text (String): Self Explanitory.
 
 Description:
  This procedure will be called every time a player types a / slash command. Including things like /kill, /victory etc.

External Links