Difference between revisions of "IDToIP"

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

Latest revision as of 08:58, 15 August 2012

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