From Soldat Community Wiki
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.
  This procedure will be called every time a player types a / slash command. Including things like /kill, /victory etc.

External Links