SendRconCommand hostname - 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: SendRconCommand hostname (
/showthread.php?tid=572901)
SendRconCommand hostname -
Blackazur - 02.05.2015
Hello, i have a problem i use roundmaps on my server and i want to have the correct round map id in the hostname, i have this under OnGameModeInit:
Код:
new string[128];
format(string, sizeof(string), "hostname Test (Round %i/10)", mapid);
SendRconCommand(string);
On round %d it should show round 1 but it is showing always round 0. Can anyone help me?
Re: SendRconCommand hostname -
tboysamp - 02.05.2015
refer to this link I believe you should use a timer but take a look at this link this might help you
https://sampforum.blast.hk/showthread.php?tid=298144
AW: SendRconCommand hostname -
Blackazur - 02.05.2015
So i have to use a timer for this? Or can i make it with a string?
Re: SendRconCommand hostname -
tboysamp - 02.05.2015
my opinion is use a timer it's more efficient
AW: SendRconCommand hostname -
Blackazur - 02.05.2015
Is there no other way?
Re: SendRconCommand hostname -
tboysamp - 02.05.2015
you have to use a timer that's the only way I know of