29.01.2018, 16:40
I don't understand what this "format" is used for and how can it be used later in the script?
I'll very grateful if anyone can give me a good explanation of this piece of code, how it works and so on.
Thank you.
Code:
new name_of_server[42]; format(name_of_server, sizeof(name_of_server), "hostname %s v. %.01f", SERVER_NAME, SERVER_VERSION); SendRconCommand(name_of_server);
Thank you.