IDToIP

From Soldat Community Wiki
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