[Include] GetServerIP
#5

Quote:
Originally Posted by Double-O-Seven
Посмотреть сообщение
Did you know that there's actually a Server Variable called "bind" (or was it "hind"?)
to get the server IP with GetServerVarAsString?^^
Yeah, use "bind" with a # before and see. Put this: ( exactly this )
Код:
#bind 183.523.241.41
Won't work, server IP remains unchanged, but GetServerVarAsString will get 183.523.241.41...

EDIT: wups, Change
Код:
#if defined FILTERSCRIPTS
to
Код:
#if defined FILTERSCRIPT
EDIT2: A native from SA:MP would be better for dynamic IPs, we'd can use **
Reply


Messages In This Thread
GetServerIP - by wups - 23.09.2011, 17:37
Re: GetServerIP - by IstuntmanI - 23.09.2011, 17:41
Re: GetServerIP - by Edvin - 23.09.2011, 17:44
Re: GetServerIP - by Double-O-Seven - 23.09.2011, 17:47
Re: GetServerIP - by IstuntmanI - 23.09.2011, 17:49
Re: GetServerIP - by HyperZ - 23.09.2011, 17:56
Re: GetServerIP - by Sasino97 - 23.09.2011, 17:57
Re: GetServerIP - by wups - 23.09.2011, 17:58
Re: GetServerIP - by Lorenc_ - 23.09.2011, 18:03
Re: GetServerIP - by Fat - 23.09.2011, 18:04

Forum Jump:


Users browsing this thread: 1 Guest(s)