mirror of
https://github.com/XLabsProject/iw4x-rawfiles.git
synced 2023-08-02 15:02:11 +02:00
feat: add getiP
This commit is contained in:
parent
ebcb8d9657
commit
6580aa3688
@ -3878,6 +3878,22 @@ getPing()
|
|||||||
return self.ping;
|
return self.ping;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
=============
|
||||||
|
///ScriptDocBegin
|
||||||
|
"Name: getIP()"
|
||||||
|
"Summary: Returns the current IP Address of the client"
|
||||||
|
"Module: Utility"
|
||||||
|
"Example: self getIP();"
|
||||||
|
"SPMP: multiplayer"
|
||||||
|
///ScriptDocEnd
|
||||||
|
=============
|
||||||
|
*/
|
||||||
|
getIP()
|
||||||
|
{
|
||||||
|
return self.address;
|
||||||
|
}
|
||||||
|
|
||||||
void()
|
void()
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user