SA-MP Forums Archive
Is there any command to change port with rcon? - 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)
+--- Thread: Is there any command to change port with rcon? (/showthread.php?tid=335374)



Is there any command to change port with rcon? - ProdrifterX - 18.04.2012

Heyo guys...
iam intrested about changing port with rcon admin?
is there any command for it?
or maybe lux admin got it?


Re: Is there any command to change port with rcon? - James Coral - 18.04.2012

Mhm i dont know but you can always check /rcon cmdlist for more commands


Re: Is there any command to change port with rcon? - Lenny the Cup - 18.04.2012

You can't change the port of an application while it's already initiated on another, you'd have to restart it. And no, there's no RCON command for it.


Re: Is there any command to change port with rcon? - aRoach - 18.04.2012

Use this:
pawn Код:
SendRconCommand( "port ****" );



Re: Is there any command to change port with rcon? - IstuntmanI - 18.04.2012

Quote:
Originally Posted by aRoach
Посмотреть сообщение
Use this:
pawn Код:
SendRconCommand( "port ****" );
You can't change port with this method,
Quote:

You can't change the port of an application while it's already initiated on another,

you can only close your server, change port from server.cfg then open the server again.