Get Server Ip
Hi all, I'm a new on SourceMod.
and this is a simple snippet to get server ip. I have been try to type "ip" in server console and the result is Code:
"ip" = "localhost"result: Code:
"hostip" = "989727350" ( def. "" )Code:
|
Re: Get Server Ip
SMLIB already has a similar function.
|
Re: Get Server Ip
Keep in mind, if you're behind a NAT or something similar, the IP that is reported by hostip will be incorrect. You'll need to use SteamTools to get the actual address.
|
Re: Get Server Ip
Quote:
|
| All times are GMT -4. The time now is 18:34. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.