IDToIP
Revision as of 09: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...")
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