How to make it so the server starts if the server is running on the right ip?
#1

I want to make a script for my samp server and if someone were to steal my server and its not the right ip the samp-server.exe stops running and shuts the server off. If its the right ip the server starts and its defined through pawno.
Anyone know what i am talking about?
Reply
#2

in server.cfg add bind 127.0.0.1 //(ip here)

https://sampwiki.blast.hk/wiki/Server.cfg

you can also code this into the gamemode with GetServerVarAsString()
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)