SA-MP Forums Archive
Server IP from the mod - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Server IP from the mod (/showthread.php?tid=116316)



Server IP from the mod - godknightx - 28.12.2009

Hy

How can i get the server ip from the mod?
Because i have a test, and a real server.

And if the mod running on the test, connect to the mysql server what is localhost, and when the mod running on the real server, the mysql ip is not localhost...

Thanx


Re: Server IP from the mod - laserhel50 - 28.12.2009

one word: What?


Re: Server IP from the mod - dice7 - 28.12.2009

You can't get your servers ip. But you could do it file based


Re: Server IP from the mod - godknightx - 28.12.2009

Quote:
Originally Posted by dice7
You can't get your servers ip. But you could do it file based
Yes, thanx for the idea