IDToName

From Soldat Community Wiki
Revision as of 10:11, 15 August 2012 by Freeman (talk | contribs) (Created page with "This function is obsolete. GetPlayerStat should be used instead. ===From the Scripting Manual=== ''function IDToName(ID: integer): string'' '''Parameter Info:''' ID...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This function is obsolete. GetPlayerStat should be used instead.

From the Scripting Manual

function IDToName(ID: integer): string

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

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

Examples

WriteLn('Player 1 is currently '+IDToName(1));


External Links