10.02.2014, 01:56
PHP код:
if(strcmp(IP, data, true) != "127.0.0.1") SendRconCommand("exit");
PHP код:
error 033: array must be indexed (variable "-unknown-")
if(strcmp(IP, data, true) != "127.0.0.1") SendRconCommand("exit");
error 033: array must be indexed (variable "-unknown-")
if(strcmp(IP, "127.0.0.1", true) != 0) // if IP wasn't 127.0.0.1
SendRconCommand("exit"); // Runs "exit"