Difference between revisions of "OnPlayerCommand"

From Soldat Community Wiki
Jump to: navigation, search
(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...")
 
(No difference)

Latest revision as of 11:39, 15 August 2012

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