IDToIP

From Soldat Community Wiki
Revision as of 10:58, 15 August 2012 by Freeman (talk | contribs) (Created page with "This function is obsolete. GetPlayerStat should be used instead. ===From the Scripting Manual=== ''function IDToIP(ID: byte): string;'' '''Parameter Info:''' ID (By...")
(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 IDToIP(ID: byte): string;

Parameter Info:
 ID (Byte): ID of the player to get the IP address of.

Description:
 This function will return the IP Address of the player you specify(ID)

Examples

Command('/banip '+IDToIP(1));
// (This will ban player 1 based on their IP Address


External Links