SendRconCommand hostname
#1

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?
Reply
#2

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
Reply
#3

So i have to use a timer for this? Or can i make it with a string?
Reply
#4

my opinion is use a timer it's more efficient
Reply
#5

Is there no other way?
Reply
#6

you have to use a timer that's the only way I know of
Reply


Forum Jump:


Users browsing this thread: