<function name="rpcf_remove_user" id="0x200e"> <input> <integer name="user_id" /> </input> <output> <integer name="result" /> </output> </function>
function rpcf_remove_user($user_id) { //0x200e $ret=array(); if (!$this->connection->urfa_call(0x200e)) { print "Error calling function ". __FUNCTION__ ."\n"; return FALSE; } $packet = $this->connection->getPacket(); $packet->DataSetInt($user_id); $this->connection->urfa_send_param($packet); if ($x = $this->connection->urfa_get_data()){ $ret['result']=$x->DataGetInt(); // $this->connection->urfa_get_data(); } return $ret; }