SendRconCommand
#1

Why is this not working
PHP код:
new hostname strval(inputtext);
                new 
string[20];
                
format(stringsizeof(string), "hostname %s"hostname);
                
SendRconCommand(string); 
Any ideas??

When I want to set hostname to, lets say, 123456 I get this in log
Код:
[22:46:58] hostname = "MySQL"  (string)
?
Reply
#2

PHP код:
new hostname[124]; 
Reply
#3

Fixed

It should go like this
PHP код:
new string[35];
                
format(stringsizeof(string), "hostname %s"inputtext);
                
SendRconCommand(string); 
Reply
#4

uhum
Reply
#5

Quote:
Originally Posted by Micko123
Посмотреть сообщение
Fixed

It should go like this
PHP код:
new string[35];
                
format(stringsizeof(string), "hostname %s"inputtext);
                
SendRconCommand(string); 
That what he told you above...
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)