feat: add getiP

pull/3/head
FutureRave 2023-05-03 17:47:43 +01:00
parent ebcb8d9657
commit 6580aa3688
No known key found for this signature in database
GPG Key ID: 22F9079C86CFAB31
1 changed files with 16 additions and 0 deletions

View File

@ -3878,6 +3878,22 @@ getPing()
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()
{
}