<function name="rpcf_add_group_to_user" id="0x2552"> <input> <integer name="user_id"/> <integer name="group_id"/> </input> <output/> </function>
function rpcf_add_group_to_user($user_id,$group_id) { //0x2552 if (!$this->connection->urfa_call(0x2552)) { print "Error calling function ". __FUNCTION__ ."\n"; return FALSE; } $packet = $this->connection->getPacket(); $packet->DataSetInt($user_id); $packet->DataSetInt($group_id); $this->connection->urfa_send_param($packet); $this->connection->urfa_get_data(); }