Difference between revisions of "NameToID"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with "===From the Scripting Manual=== ''function NameToID(Name: string): integer;'' '''Parameter Info:''' Name (String): Player Name which will be used to return the Player ID...")
 
(No difference)

Latest revision as of 16:26, 14 August 2012

From the Scripting Manual

function NameToID(Name: string): integer;

Parameter Info:
 Name (String): Player Name which will be used to return the Player ID.

Description:
 This function will return the Player ID of Player (Name).

Examples

Command('/kick '+inttostr(NameToID('Major')));


External Links