# How can i send a rpc to server only

**URL:** <https://forum.godotengine.org/t/how-can-i-send-a-rpc-to-server-only/9576>\
**Category:** Archive\
**Created:** [August 12, 2021, 10:03pm UTC](https://forum.godotengine.org/t/how-can-i-send-a-rpc-to-server-only/9576 "2021-08-12T22:03:23Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![system](https://forum.godotengine.org/uploads/default/original/2X/4/4b0a7fa8a6334634b94a13d421f0d99e6f04e21f.svg) [@system](https://forum.godotengine.org/u/system)\
**Post date:** [August 12, 2021, 10:03pm UTC](https://forum.godotengine.org/t/how-can-i-send-a-rpc-to-server-only/9576/1 "2021-08-12T22:03:23Z")

</div>

| | | |
| --- | --- | --- |
| ℹ | **Attention** | Topic was automatically imported from the old Question2Answer platform. |
| 👤 | **Asked&nbsp;By** | vannongtinh |

When develop networking game, we might want to send a rpc to server only, but how?

---

<div class="post-metadata">

**Author:** ![system](https://forum.godotengine.org/uploads/default/original/2X/4/4b0a7fa8a6334634b94a13d421f0d99e6f04e21f.svg) [@system](https://forum.godotengine.org/u/system)\
**Post date:** [August 13, 2021, 12:05am UTC](https://forum.godotengine.org/t/how-can-i-send-a-rpc-to-server-only/9576/2 "2021-08-13T00:05:25Z")

</div>

| | | |
| --- | --- | --- |
| 👤 | **Reply From:** | Wakatta |

The Server’s ID is always `1` so use `rpc_id` or `rpc_unreliable_id` with that.

## Side note

* * *

ID `0` is broadcast to all peers
