Hey, why isn't the senduser command working on Phoenix 3.11.0, all the other mus commands work fine apart from this one.
This is my code.
This is my Mus functionCode:$core->Mus('senduser', '1', '1');
Thanks, in advance.Code:public function Mus($header, $data = '', $data2 = '') { if ($this->config['MUS']['enabled'] == "false" || $this->getSystemStatus() == "0") { return; } $musData = $header . chr(1) . $data; if ($data2 != '') { $musData = $header . chr(1) . $data . chr(1) . $data2; } $sock = @Socket_create(AF_INET, SOCK_STREAM, getprotobyname('tcp')); @Socket_connect($sock, $this->config['MUS']['ip'], intval($this->config['MUS']['port'])); @Socket_send($sock, $musData, strlen($musData), MSG_DONTROUTE); @Socket_close($sock); }
- - - Updated - - -
@FullmetalPride knows, I believe help me pal.





